$ git clone -n https://gitee.com/src-opencloudos-rpms/net-snmp /var/lib/mock/dist-oc8-build-58046-15875/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-oc8-build-58046-15875/root/chroot_tmpdir/scmroot/net-snmp'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/net-snmp * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3661af6 import net-snmp-5.8-28.tl3