Vscode: Git: When resolving a merge conflict allow accepting the default commit message

Created on 16 May 2016  路  4Comments  路  Source: microsoft/vscode

  • VSCode Version: 1.1.1
  • OS Version: OS X

Steps to Reproduce:

  1. get into a merge conflict
  2. Try accepting Git's default message. It's equal to git commit --no-edit
  3. There is no way to do that!
feature-request git help wanted verification-needed verified

Most helpful comment

My workaround is to invoke git commit from a terminal. Maybe if the commit message field is empty, VSCode could just call git commit as well and leave it up to user's configuration what happens (in my case, it would open a text editor from my EDITOR system variable, which is fine).

All 4 comments

Will mention that it's also equivalent to git commit and saving the default message that shows up in your editor - hence a very common workflow

My workaround is to invoke git commit from a terminal. Maybe if the commit message field is empty, VSCode could just call git commit as well and leave it up to user's configuration what happens (in my case, it would open a text editor from my EDITOR system variable, which is fine).

Has the pull request #66522 been reviewed yet? Can it be pulled in?

Verification:

When having a merge commit, VS Code should now automatically populate the input box with the default git merge commit message, so the user can just accept it.

Was this page helpful?
0 / 5 - 0 ratings