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