$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/pyparsing.git /var/lib/mock/dist-an7-build-29911-15442/root/chroot_tmpdir/scmroot/pyparsing Cloning into '/var/lib/mock/dist-an7-build-29911-15442/root/chroot_tmpdir/scmroot/pyparsing'... $ git reset --hard origin/a7 HEAD is now at 5f368e6 import pyparsing-1.5.6-9.el7.src.rpm