$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-CGI-Session.git /var/lib/mock/dist-an7-build-29510-15397/root/chroot_tmpdir/scmroot/perl-CGI-Session Cloning into '/var/lib/mock/dist-an7-build-29510-15397/root/chroot_tmpdir/scmroot/perl-CGI-Session'... $ git reset --hard origin/a7 HEAD is now at bf8c135 import perl-CGI-Session-4.35-16.el7.src.rpm