Git - add setting to control default branch name (#181884)

* Initial implementation

* Refactor based on discussions

* More pull request feedback
This commit is contained in:
Ladislau Szomoru
2023-05-10 20:52:13 +02:00
committed by GitHub
parent 4bbf1ad5fb
commit b4469cf109
4 changed files with 26 additions and 9 deletions

View File

@@ -131,6 +131,7 @@
"config.checkoutType.local": "Local branches",
"config.checkoutType.tags": "Tags",
"config.checkoutType.remote": "Remote branches",
"config.defaultBranchName": "The name of the default branch (ex: main, trunk, development) when initializing a new git repository. When set to empty, the default branch name configured in git will be used.",
"config.branchPrefix": "Prefix used when creating a new branch.",
"config.branchProtection": "List of protected branches. By default, a prompt is shown before changes are committed to a protected branch. The prompt can be controlled using the `#git.branchProtectionPrompt#` setting.",
"config.branchProtectionPrompt": "Controls whether a prompt is being shown before changes are committed to a protected branch.",