$ git clone -n https://gitee.com/src-anolis-os/curl.git /var/lib/mock/dist-an23-build-315643-67535/root/chroot_tmpdir/scmroot/curl Cloning into '/var/lib/mock/dist-an23-build-315643-67535/root/chroot_tmpdir/scmroot/curl'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/curl * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at eb1b268 8.4.0