$ git clone -n https://gitee.com/src-anolis-os/perl-Browser-Open.git /var/lib/mock/dist-an7-build-61427-33954/root/chroot_tmpdir/scmroot/perl-Browser-Open Cloning into '/var/lib/mock/dist-an7-build-61427-33954/root/chroot_tmpdir/scmroot/perl-Browser-Open'... $ git reset --hard origin/a7 HEAD is now at 1526367 import perl-Browser-Open-0.04-6.el7.src.rpm