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