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