$ git clone -n https://gitee.com/src-anolis-os/gssproxy.git /var/lib/mock/dist-an23.3-build-414538-72844/root/chroot_tmpdir/scmroot/gssproxy Cloning into '/var/lib/mock/dist-an23.3-build-414538-72844/root/chroot_tmpdir/scmroot/gssproxy'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gssproxy * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cd6f8c8 update to 0.9.2-10