$ git clone -n https://gitee.com/fundawang/net-snmp.git /var/lib/mock/dist-an23-build-206606-61324/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-an23-build-206606-61324/root/chroot_tmpdir/scmroot/net-snmp'... $ git reset --hard 06087b7eecb53d076077d430304e016ab3ebe9db HEAD is now at 06087b7 list files