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