Microsoft/vscode

Git - Allow configuring git to use current VS Code version for editing commits

Open

#112,608 opened on Dec 15, 2020

View on GitHub
 (4 comments) (1 reaction) (1 assignee)TypeScript (10,221 forks)batch import
feature-requestgithelp wanted

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

Description

Issue Type: Feature Request

Problem

We can configure VS Code as the default git editor, but this currently hardcodes the code program name.

This means that if you are using the insiders version of VS Code and run a git command in the intergrated terminal, we end up launching the stable version of VS Code to edit the commit message

Feature Request

Make it possible to configure git to use the currently running version of VS Code as the default editor, falling back to stable or insiders if the git command was not run from VS Code

Contributor guide