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