$ git clone -n https://gitee.com/src-anolis-os/perl-Unicode-Map8.git /var/lib/mock/dist-an7-build-61693-34047/root/chroot_tmpdir/scmroot/perl-Unicode-Map8 Cloning into '/var/lib/mock/dist-an7-build-61693-34047/root/chroot_tmpdir/scmroot/perl-Unicode-Map8'... $ git reset --hard origin/a7 HEAD is now at b29d2b4 import perl-Unicode-Map8-0.13-13.el7.src.rpm