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