$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/crash-ptdump-command.git /var/lib/mock/dist-an7-updates-build-42780-21665/root/chroot_tmpdir/scmroot/crash-ptdump-command Cloning into '/var/lib/mock/dist-an7-updates-build-42780-21665/root/chroot_tmpdir/scmroot/crash-ptdump-command'... $ git reset --hard origin/a7 HEAD is now at b412458 update to crash-ptdump-command-1.0.3-3.el7.src.rpm