$ git clone -n https://gitee.com/mgb01105731/net-snmp.git /var/lib/mock/dist-an23-build-154055-58076/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-an23-build-154055-58076/root/chroot_tmpdir/scmroot/net-snmp'... $ git reset --hard fc75ef6d8ece3a00950c12aefe4cf13df253a10f HEAD is now at fc75ef6 optimise spec file