$ git clone -n https://gitee.com/fundawang/nftables.git /var/lib/mock/dist-an23-build-319731-67868/root/chroot_tmpdir/scmroot/nftables Cloning into '/var/lib/mock/dist-an23-build-319731-67868/root/chroot_tmpdir/scmroot/nftables'... $ git fetch origin a9a0bf4909fb6a9b18414351e0db09f30f5e5cfa:KOJI_FETCH_HEAD From https://gitee.com/fundawang/nftables * [new ref] a9a0bf4909fb6a9b18414351e0db09f30f5e5cfa -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a9a0bf4 1.0.9