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