Is it possible to customize the git commands that are available in the ellipsis menu on the source control panel of VSCode?
-
I mean customize like adding additional git commands or changing the existing commands for say "git pull" to something like "git pull -rebase"RonnBlack– RonnBlack2017-06-30 01:04:56 +00:00Commented Jun 30, 2017 at 1:04
Add a comment
|
2 Answers
You will need to write a custom extension for this, but yes, its possible.
As a reference point how to write one, there is a plugin I am using for creating git tags that integrates nicely in the menu. See https://github.com/leftstick/vscode-git-tags.
Comments
Part of leftstick/vscode-git-tags just got more complete with VSCode 1.52 (Nov. 2020) and issue 109799:
Git: Support
Git: Push Tagscommand
Its PR 110096 represents a good example of menu customization.
