$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python-repoze-lru.git /var/lib/mock/dist-an7-build-51256-22828/root/chroot_tmpdir/scmroot/python-repoze-lru Cloning into '/var/lib/mock/dist-an7-build-51256-22828/root/chroot_tmpdir/scmroot/python-repoze-lru'... $ git reset --hard origin/a7 HEAD is now at 6173080 import python-repoze-lru-0.4-3.el7.src.rpm