$ git clone -n https://gitee.com/wency_cn/bison.git /var/lib/mock/dist-an23-build-502436-74802/root/chroot_tmpdir/scmroot/bison Cloning into '/var/lib/mock/dist-an23-build-502436-74802/root/chroot_tmpdir/scmroot/bison'... $ git fetch origin 8360f79b1dde829cf4cae23cbf9eaa7e528dd924:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/bison * [new ref] 8360f79b1dde829cf4cae23cbf9eaa7e528dd924 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8360f79 Update code from upstream