【问题标题】:Visual Studio Code Prevent Accidentally Commit All Changed FilesVisual Studio Code 防止意外提交所有更改的文件
【发布时间】:2017-07-15 07:20:10
【问题描述】:

我在 VS Code 中使用 git 作为源代码控制。我记得看到一个关于在没有暂存文件的情况下提交的警告对话框。我选择了“始终提交所有”或类似的选项,但现在我想要返回对话框。

谁能建议怎么做?

【问题讨论】:

    标签: visual-studio-code vscode-settings


    【解决方案1】:

    settings.json:

    "git.enableSmartCommit": false
    

    【讨论】:

      猜你喜欢
      • 2017-08-08
      • 2011-04-24
      • 2015-07-16
      • 1970-01-01
      • 2022-12-03
      • 2018-08-20
      • 2021-04-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多