$ git clone -n https://gitee.com/fundawang/libarchive.git /var/lib/mock/dist-an23-build-287404-64835/root/chroot_tmpdir/scmroot/libarchive Cloning into '/var/lib/mock/dist-an23-build-287404-64835/root/chroot_tmpdir/scmroot/libarchive'... $ git fetch origin f33e26dfdab097e9cbec246d8b91df287362cf7a:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libarchive * [new ref] f33e26dfdab097e9cbec246d8b91df287362cf7a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f33e26d 3.7.0