$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/compat-poppler022.git /var/lib/mock/dist-an7-build-27430-15163/root/chroot_tmpdir/scmroot/compat-poppler022 Cloning into '/var/lib/mock/dist-an7-build-27430-15163/root/chroot_tmpdir/scmroot/compat-poppler022'... $ git reset --hard origin/a7 HEAD is now at 4cc86c5 import compat-poppler022-0.22.5-4.el7.src.rpm