$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/dnsmasq.git /var/lib/mock/dist-an7-build-27540-15176/root/chroot_tmpdir/scmroot/dnsmasq Cloning into '/var/lib/mock/dist-an7-build-27540-15176/root/chroot_tmpdir/scmroot/dnsmasq'... $ git reset --hard origin/a7 HEAD is now at 435eb04 update to dnsmasq-2.76-10.el7_7.1.src.rpm