在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
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安