$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/net-snmp.git /var/lib/mock/dist-an7-build-32408-15996/root/chroot_tmpdir/scmroot/net-snmp Cloning into '/var/lib/mock/dist-an7-build-32408-15996/root/chroot_tmpdir/scmroot/net-snmp'... $ git reset --hard origin/a7 HEAD is now at 15477fb update to net-snmp-5.7.2-43.el7_7.3.src.rpm