当前位置: 首页 > 工具软件 > Git-it > 使用案例 >

git:‘ignore‘ 不是一个 git 命令。参见 ‘git --help‘。的解决办法

戴高远
2023-12-01

在ubuntu下使用git 管理时出现以下问题

$ gitignore

Command 'gitignore' not found, did you mean:

  command 'git-ignore' from deb git-extras (5.1.0-1)

Try: sudo apt install <deb name>

使用命令行

$ sudo apt install git-extras
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
下列【新】软件包将被安
 类似资料: