$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-DBI.git /var/lib/mock/dist-an7-build-32608-16049/root/chroot_tmpdir/scmroot/perl-DBI Cloning into '/var/lib/mock/dist-an7-build-32608-16049/root/chroot_tmpdir/scmroot/perl-DBI'... $ git reset --hard origin/a7 HEAD is now at af4e158 import perl-DBI-1.627-4.el7.src.rpm