$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python-matplotlib.git /var/lib/mock/dist-an7-build-32908-16130/root/chroot_tmpdir/scmroot/python-matplotlib Cloning into '/var/lib/mock/dist-an7-build-32908-16130/root/chroot_tmpdir/scmroot/python-matplotlib'... $ git reset --hard origin/a7 HEAD is now at a8de2f3 import python-matplotlib-1.2.0-16.el7.src.rpm