$ git clone -n https://gitee.com/src-anolis-os/zchunk.git /var/lib/mock/dist-an7_9-updates-build-384021-71920/root/chroot_tmpdir/scmroot/zchunk Cloning into '/var/lib/mock/dist-an7_9-updates-build-384021-71920/root/chroot_tmpdir/scmroot/zchunk'... $ git fetch origin b5154ad44d4a25a68897ea86e1d9fc9acd796b9b:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/zchunk * [new ref] b5154ad44d4a25a68897ea86e1d9fc9acd796b9b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b5154ad 1.3.2