Error: the git tag 'error: unknown option `exclude' usage: git describe [<options>] [<commit-ish>...] or: git describe [<options>] --dirty

Firmware编译报错

Error: the git tag 'error: unknown option `exclude'
usage: git describe [<options>] [<commit-ish>...]
   or: git describe [<options>] --dirty

升级Git

sudo apt install software-properties-common # 安装 PPA 需要的依赖
sudo add-apt-repository ppa:git-core/ppa    # 向 PPA 中添加 git 的软件源
sudo apt-get update
sudo apt-get install git
posted @ 2021-06-25 17:17  thomas_blog  阅读(515)  评论(0编辑  收藏  举报