$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python-ply.git /var/lib/mock/dist-an7-build-30004-15452/root/chroot_tmpdir/scmroot/python-ply Cloning into '/var/lib/mock/dist-an7-build-30004-15452/root/chroot_tmpdir/scmroot/python-ply'... $ git reset --hard origin/a7 HEAD is now at 151894c import python-ply-3.4-11.el7.src.rpm