$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/sendmail.git /var/lib/mock/dist-an7-build-33105-16169/root/chroot_tmpdir/scmroot/sendmail Cloning into '/var/lib/mock/dist-an7-build-33105-16169/root/chroot_tmpdir/scmroot/sendmail'... $ git reset --hard origin/a7 HEAD is now at 9a50d7f import sendmail-8.14.7-5.el7.src.rpm