$ git clone -n https://gitee.com/src-anolis-os/perl-Test-Memory-Cycle.git /var/lib/mock/dist-an7-build-61633-34026/root/chroot_tmpdir/scmroot/perl-Test-Memory-Cycle Cloning into '/var/lib/mock/dist-an7-build-61633-34026/root/chroot_tmpdir/scmroot/perl-Test-Memory-Cycle'... $ git reset --hard origin/a7 HEAD is now at 00db268 import perl-Test-Memory-Cycle-1.04-17.el7.src.rpm