$ git clone -n https://gitee.com/src-opencloudos-rpms/nftables.git /var/lib/mock/dist-oc8-build-72627-48020/root/chroot_tmpdir/scmroot/nftables Cloning into '/var/lib/mock/dist-oc8-build-72627-48020/root/chroot_tmpdir/scmroot/nftables'... $ git fetch origin cdd055f2c3814253b2b243b0efb5975c992c16d4:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/nftables * [new ref] cdd055f2c3814253b2b243b0efb5975c992c16d4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cdd055f import nftables-1.0.4-4.tl3