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