$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python3-setuptools.git /var/lib/mock/dist-an7-build-29919-15443/root/chroot_tmpdir/scmroot/python3-setuptools Cloning into '/var/lib/mock/dist-an7-build-29919-15443/root/chroot_tmpdir/scmroot/python3-setuptools'... $ git reset --hard origin/a7 HEAD is now at 51315a6 import python3-setuptools-39.2.0-10.el7.src.rpm