$ git clone -n https://gitee.com/src-anolis-dde/lucene.git /var/lib/mock/dist-an23-dde-build-339782-69797/root/chroot_tmpdir/scmroot/lucene Cloning into '/var/lib/mock/dist-an23-dde-build-339782-69797/root/chroot_tmpdir/scmroot/lucene'... $ git reset --hard origin/a23 HEAD is now at 38dc324 pkg init