$ git clone -n https://gitee.com/src-opencloudos-rpms/net-snmp.git /var/lib/mock/dist-oc8-build-34431-10869/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-oc8-build-34431-10869/root/chroot_tmpdir/scmroot/net-snmp'... $ git reset --hard 3a5106e143c4a62441d4975a558edc95e9e99b1c HEAD is now at 3a5106e import net-snmp-5.8-25.oc8.1