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