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