$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-infra/python-twisted.git /var/lib/mock/dist-an8-infra-build-50783-22942/root/chroot_tmpdir/scmroot/python-twisted Cloning into '/var/lib/mock/dist-an8-infra-build-50783-22942/root/chroot_tmpdir/scmroot/python-twisted'... $ git reset --hard origin/a8 HEAD is now at 09a0481 import python-twisted-19.10.0-2.el8.src.rpm