$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-Sys-Syslog.git /var/lib/mock/dist-an7-build-29767-15426/root/chroot_tmpdir/scmroot/perl-Sys-Syslog Cloning into '/var/lib/mock/dist-an7-build-29767-15426/root/chroot_tmpdir/scmroot/perl-Sys-Syslog'... $ git reset --hard origin/a7 HEAD is now at 8221628 import perl-Sys-Syslog-0.33-3.el7.src.rpm