$ git clone -n https://gitee.com/fundawang/libarchive.git /var/lib/mock/dist-an23-build-290792-64987/root/chroot_tmpdir/scmroot/libarchive Cloning into '/var/lib/mock/dist-an23-build-290792-64987/root/chroot_tmpdir/scmroot/libarchive'... $ git fetch origin 64713c7e57329584ae57baa7d12d2cea3a609430:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libarchive * [new ref] 64713c7e57329584ae57baa7d12d2cea3a609430 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 64713c7 3.7.1