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