$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python-pycurl.git /var/lib/mock/dist-an7-build-30020-15454/root/chroot_tmpdir/scmroot/python-pycurl Cloning into '/var/lib/mock/dist-an7-build-30020-15454/root/chroot_tmpdir/scmroot/python-pycurl'... $ git reset --hard origin/a7 HEAD is now at 48e60df import python-pycurl-7.19.0-19.el7.src.rpm