$ git clone -n https://gitee.com/src-anolis-os/perl-DB_File.git /var/lib/mock/dist-an8.9-build-383948-71925/root/chroot_tmpdir/scmroot/perl-DB_File Cloning into '/var/lib/mock/dist-an8.9-build-383948-71925/root/chroot_tmpdir/scmroot/perl-DB_File'... $ git fetch origin 0b1ea6cb2895555ee2bb200862a1c8968f15da5e:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/perl-DB_File * [new ref] 0b1ea6cb2895555ee2bb200862a1c8968f15da5e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0b1ea6c spec: add sub doc package