$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/tog-pegasus.git /var/lib/mock/dist-an7-build-33274-16169/root/chroot_tmpdir/scmroot/tog-pegasus Cloning into '/var/lib/mock/dist-an7-build-33274-16169/root/chroot_tmpdir/scmroot/tog-pegasus'... $ git reset --hard origin/a7 HEAD is now at c9540d2 import tog-pegasus-2.14.1-7.el7.src.rpm