$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/crash-gcore-command.git /var/lib/mock/dist-an7-build-27456-15165/root/chroot_tmpdir/scmroot/crash-gcore-command Cloning into '/var/lib/mock/dist-an7-build-27456-15165/root/chroot_tmpdir/scmroot/crash-gcore-command'... $ git reset --hard origin/a7 HEAD is now at 14055a8 import crash-gcore-command-1.3.1-0.el7.src.rpm