$ git clone -n https://gitee.com/src-anolis-os/libhandy.git /var/lib/mock/dist-an23.3-build-414392-72844/root/chroot_tmpdir/scmroot/libhandy Cloning into '/var/lib/mock/dist-an23.3-build-414392-72844/root/chroot_tmpdir/scmroot/libhandy'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libhandy * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 99d1649 Sync up from CentOS Stream libhandy-1.8.3-1(tdawson@redhat.com)