$ git clone -n https://gitee.com/src-anolis-os/perl-Devel-Cycle.git /var/lib/mock/dist-an7-build-61464-33968/root/chroot_tmpdir/scmroot/perl-Devel-Cycle Cloning into '/var/lib/mock/dist-an7-build-61464-33968/root/chroot_tmpdir/scmroot/perl-Devel-Cycle'... $ git reset --hard origin/a7 HEAD is now at 1bcb1b8 import perl-Devel-Cycle-1.11-13.el7.src.rpm