$ git clone -n https://gitee.com/src-anolis-os/libhandy.git /var/lib/mock/dist-an23.3-build-421152-72884/root/chroot_tmpdir/scmroot/libhandy Cloning into '/var/lib/mock/dist-an23.3-build-421152-72884/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 4349cee Update to 1.8.3 from 1.8.2