$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/MySQL-python.git /var/lib/mock/dist-an7-build-29266-15369/root/chroot_tmpdir/scmroot/MySQL-python Cloning into '/var/lib/mock/dist-an7-build-29266-15369/root/chroot_tmpdir/scmroot/MySQL-python'... $ git reset --hard origin/a7 HEAD is now at 214ffff import MySQL-python-1.2.5-1.el7.src.rpm