【问题标题】:GIT integration in Sublime Text 3.2 still showing upSublime Text 3.2 中的 GIT 集成仍然出现
【发布时间】:2019-03-26 10:04:37
【问题描述】:

关于我的问题here,为什么绿色的 GIT 行仍然出现

 "show_git_status": false,

在 Sublime Text 3.2 中添加到我的首选项文件? 是的,我已经重新启动了 Sublime(以及重新启动)

【问题讨论】:

  • 进一步回答你原来的问题,你要关闭的是增量差异,而不是 git 状态; git status 在侧栏中显示文件的状态。如果您不想要增量差异,请将 mini_diff 设置为 false

标签: git sublimetext3


【解决方案1】:

从设置文件开始,你需要两个:

// Shows git repository information next to files in sidebar and in
// the status bar. Sublime Text has to be restarted for this to take
// effect.
"show_git_status": false,

// Indicate modified lines in the gutter
// - true: Enables modified line indicators on all files
// - "auto": Enables modified line indicators on tracked files within Git
// - false: Disables modified line indicators
"mini_diff": false,

禁用所有 git 实用程序。

注意:需要重启 sublime!

【讨论】:

    猜你喜欢
    • 2019-08-14
    • 1970-01-01
    • 1970-01-01
    • 2019-04-24
    • 2013-04-13
    • 2013-11-14
    • 1970-01-01
    • 2014-07-06
    • 1970-01-01
    相关资源
    最近更新 更多