$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/crash-ptdump-command.git /var/lib/mock/dist-an7-build-30992-15669/root/chroot_tmpdir/scmroot/crash-ptdump-command Cloning into '/var/lib/mock/dist-an7-build-30992-15669/root/chroot_tmpdir/scmroot/crash-ptdump-command'... $ git reset --hard origin/a7 HEAD is now at 044668c import crash-ptdump-command-1.0.3-2.el7.src.rpm