$ git clone -n https://gitee.com/src-anolis-os/perl-Text-Glob.git /var/lib/mock/dist-an7-build-61687-34047/root/chroot_tmpdir/scmroot/perl-Text-Glob Cloning into '/var/lib/mock/dist-an7-build-61687-34047/root/chroot_tmpdir/scmroot/perl-Text-Glob'... $ git reset --hard origin/a7 HEAD is now at 40b5862 import perl-Text-Glob-0.09-7.el7.src.rpm