$ git clone -n https://gitee.com/xzyang-anolis8/libzen.git /var/lib/mock/dist-an23-dde-build-330139-68958/root/chroot_tmpdir/scmroot/libzen Cloning into '/var/lib/mock/dist-an23-dde-build-330139-68958/root/chroot_tmpdir/scmroot/libzen'... $ git fetch origin 5e517b4484fd2eb0a7b6bc74411c542265f1cb2f:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis8/libzen * [new ref] 5e517b4484fd2eb0a7b6bc74411c542265f1cb2f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5e517b4 fix spec version