$ git clone -n https://gitee.com/xzyang-anolis/net-snmp.git /var/lib/mock/dist-an7_9-updates-build-355612-71057/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-an7_9-updates-build-355612-71057/root/chroot_tmpdir/scmroot/net-snmp'... $ git reset --hard 40e925aa68be1ba3004cc555c063f1ea26ac6c4e HEAD is now at 40e925a Update to net-snmp-5.7.2-49.el7_9.4