$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-infra/python-gitdb2.git /var/lib/mock/dist-an8-infra-build-51267-23470/root/chroot_tmpdir/scmroot/python-gitdb2 Cloning into '/var/lib/mock/dist-an8-infra-build-51267-23470/root/chroot_tmpdir/scmroot/python-gitdb2'... $ git reset --hard origin/a8 HEAD is now at 81b7025 import python-gitdb2-2.0.5-10.0.1.el8.src.rpm