$ git clone -n https://gitee.com/src-anolis-os/perl-inc-latest.git /var/lib/mock/dist-an8.6-build-104117-45598/root/chroot_tmpdir/scmroot/perl-inc-latest Cloning into '/var/lib/mock/dist-an8.6-build-104117-45598/root/chroot_tmpdir/scmroot/perl-inc-latest'... $ git reset --hard origin/a8 HEAD is now at d6e283e spec: add sub doc package