$ git clone -n https://gitee.com/src-anolis-os/net-snmp.git /var/lib/mock/dist-an23-build-107824-45692/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-an23-build-107824-45692/root/chroot_tmpdir/scmroot/net-snmp'... $ git reset --hard 27e5a7f9580a3b4e1d24eee3637be04aa65486e7 HEAD is now at 27e5a7f init from upstream