$ git clone -n https://gitee.com/src-anolis-os/libmetalink.git /var/lib/mock/dist-an23-build-190581-60788/root/chroot_tmpdir/scmroot/libmetalink Cloning into '/var/lib/mock/dist-an23-build-190581-60788/root/chroot_tmpdir/scmroot/libmetalink'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libmetalink * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5779a23 Bump release for upgrading from anolis 8