$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python-memcached.git /var/lib/mock/dist-an7-build-29993-15452/root/chroot_tmpdir/scmroot/python-memcached Cloning into '/var/lib/mock/dist-an7-build-29993-15452/root/chroot_tmpdir/scmroot/python-memcached'... $ git reset --hard origin/a7 HEAD is now at 044649d import python-memcached-1.48-4.el7.src.rpm