$ git clone -n https://gitee.com/src-anolis-os/perl-Devel-EnforceEncapsulation.git /var/lib/mock/dist-an7-build-61465-33968/root/chroot_tmpdir/scmroot/perl-Devel-EnforceEncapsulation Cloning into '/var/lib/mock/dist-an7-build-61465-33968/root/chroot_tmpdir/scmroot/perl-Devel-EnforceEncapsulation'... $ git reset --hard origin/a7 HEAD is now at 0c5e8ec import perl-Devel-EnforceEncapsulation-0.50-8.el7.src.rpm