$ git clone -n https://gitee.com/src-opencloudos-rpms/libarchive.git /var/lib/mock/dist-oc9-build-81213-54840/root/chroot_tmpdir/scmroot/libarchive Cloning into '/var/lib/mock/dist-oc9-build-81213-54840/root/chroot_tmpdir/scmroot/libarchive'... $ git fetch origin 76292bc6d4888a8ead75700e13d5984c5c7f8ca8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libarchive * [new ref] 76292bc6d4888a8ead75700e13d5984c5c7f8ca8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 76292bc import libarchive-3.7.1-4.tl4