$ git clone -n https://gitee.com/xzyang-anolis/net-snmp.git /var/lib/mock/dist-an7_9-updates-build-297429-65780/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-an7_9-updates-build-297429-65780/root/chroot_tmpdir/scmroot/net-snmp'... $ git reset --hard 9955ea7aa36ea4fe49eaf9dbce9bcf324cb4a6ec HEAD is now at 9955ea7 Update to net-snmp-5.7.2-49.el7_9.3