$ git clone -n https://gitee.com/mgb01105731/net-snmp.git /var/lib/mock/dist-an23-build-157535-58313/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-an23-build-157535-58313/root/chroot_tmpdir/scmroot/net-snmp'... $ git reset --hard 9a5e1e41490318ec47f10d3fa262caa8117c1ba8 HEAD is now at 9a5e1e4 optimise spec file