$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python-configshell.git /var/lib/mock/dist-an7-build-29934-15445/root/chroot_tmpdir/scmroot/python-configshell Cloning into '/var/lib/mock/dist-an7-build-29934-15445/root/chroot_tmpdir/scmroot/python-configshell'... $ git reset --hard origin/a7 HEAD is now at 52736e7 import python-configshell-1.1.fb25-1.el7.src.rpm