$ git clone -n https://gitee.com/src-opencloudos-rpms/iptables /var/lib/mock/dist-oc8-build-57962-15821/root/chroot_tmpdir/scmroot/iptables Cloning into '/var/lib/mock/dist-oc8-build-57962-15821/root/chroot_tmpdir/scmroot/iptables'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/iptables * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 27f84ba import iptables-1.8.5-10.tl3