$ git clone -n https://gitee.com/src-anolis-os/perl-AppConfig.git /var/lib/mock/dist-an7-build-61425-33954/root/chroot_tmpdir/scmroot/perl-AppConfig Cloning into '/var/lib/mock/dist-an7-build-61425-33954/root/chroot_tmpdir/scmroot/perl-AppConfig'... $ git reset --hard origin/a7 HEAD is now at e62d66e import perl-AppConfig-1.66-20.el7.src.rpm