$ git clone -n https://gitee.com/src-opencloudos-rpms/iptables.git /var/lib/mock/dist-oc9-build-64132-16463/root/chroot_tmpdir/scmroot/iptables Cloning into '/var/lib/mock/dist-oc9-build-64132-16463/root/chroot_tmpdir/scmroot/iptables'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/iptables * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at de769d6 import iptables-1.8.8-4.tl4