$ git clone -n https://gitee.com/src-anolis-os/perl-HTML-FormatText-WithLinks.git /var/lib/mock/dist-an7-build-60857-33772/root/chroot_tmpdir/scmroot/perl-HTML-FormatText-WithLinks Cloning into '/var/lib/mock/dist-an7-build-60857-33772/root/chroot_tmpdir/scmroot/perl-HTML-FormatText-WithLinks'... $ git reset --hard origin/a7 HEAD is now at 306b20c import perl-HTML-FormatText-WithLinks-0.14-8.el7.src.rpm