$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/perl-DBIx-Simple.git /var/lib/mock/dist-an7-build-32609-16049/root/chroot_tmpdir/scmroot/perl-DBIx-Simple Cloning into '/var/lib/mock/dist-an7-build-32609-16049/root/chroot_tmpdir/scmroot/perl-DBIx-Simple'... $ git reset --hard origin/a7 HEAD is now at d1d66e4 import perl-DBIx-Simple-1.35-7.el7.src.rpm