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