$ git clone -n https://gitee.com/src-anolis-os/perl-Object-Deadly.git /var/lib/mock/dist-an7-build-60879-33772/root/chroot_tmpdir/scmroot/perl-Object-Deadly Cloning into '/var/lib/mock/dist-an7-build-60879-33772/root/chroot_tmpdir/scmroot/perl-Object-Deadly'... $ git reset --hard origin/a7 HEAD is now at e99e738 import perl-Object-Deadly-0.09-15.el7.src.rpm