mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-10 20:05:50 +02:00
reword documentation for git.autoForwardBranches
This commit is contained in:
parent
e6bd9d0ae6
commit
4e497eef8a
3 changed files with 3 additions and 3 deletions
|
@ -337,7 +337,7 @@ git:
|
||||||
# If true, periodically refresh files and submodules
|
# If true, periodically refresh files and submodules
|
||||||
autoRefresh: true
|
autoRefresh: true
|
||||||
|
|
||||||
# If not "none", lazygit will automatically forward branches to their upstream after fetching. Applies to branches that are not the currently checked out branch, and only to those that are strictly behind their upstream (as opposed to diverged).
|
# If not "none", lazygit will automatically fast-forward local branches to match their upstream after fetching. Applies to branches that are not the currently checked out branch, and only to those that are strictly behind their upstream (as opposed to diverged).
|
||||||
# Possible values: 'none' | 'onlyMainBranches' | 'allBranches'
|
# Possible values: 'none' | 'onlyMainBranches' | 'allBranches'
|
||||||
autoForwardBranches: onlyMainBranches
|
autoForwardBranches: onlyMainBranches
|
||||||
|
|
||||||
|
|
|
@ -244,7 +244,7 @@ type GitConfig struct {
|
||||||
AutoFetch bool `yaml:"autoFetch"`
|
AutoFetch bool `yaml:"autoFetch"`
|
||||||
// If true, periodically refresh files and submodules
|
// If true, periodically refresh files and submodules
|
||||||
AutoRefresh bool `yaml:"autoRefresh"`
|
AutoRefresh bool `yaml:"autoRefresh"`
|
||||||
// If not "none", lazygit will automatically forward branches to their upstream after fetching. Applies to branches that are not the currently checked out branch, and only to those that are strictly behind their upstream (as opposed to diverged).
|
// If not "none", lazygit will automatically fast-forward local branches to match their upstream after fetching. Applies to branches that are not the currently checked out branch, and only to those that are strictly behind their upstream (as opposed to diverged).
|
||||||
// Possible values: 'none' | 'onlyMainBranches' | 'allBranches'
|
// Possible values: 'none' | 'onlyMainBranches' | 'allBranches'
|
||||||
AutoForwardBranches string `yaml:"autoForwardBranches" jsonschema:"enum=none,enum=onlyMainBranches,enum=allBranches"`
|
AutoForwardBranches string `yaml:"autoForwardBranches" jsonschema:"enum=none,enum=onlyMainBranches,enum=allBranches"`
|
||||||
// If true, pass the --all arg to git fetch
|
// If true, pass the --all arg to git fetch
|
||||||
|
|
|
@ -331,7 +331,7 @@
|
||||||
"onlyMainBranches",
|
"onlyMainBranches",
|
||||||
"allBranches"
|
"allBranches"
|
||||||
],
|
],
|
||||||
"description": "If not \"none\", lazygit will automatically forward branches to their upstream after fetching. Applies to branches that are not the currently checked out branch, and only to those that are strictly behind their upstream (as opposed to diverged).\nPossible values: 'none' | 'onlyMainBranches' | 'allBranches'",
|
"description": "If not \"none\", lazygit will automatically fast-forward local branches to match their upstream after fetching. Applies to branches that are not the currently checked out branch, and only to those that are strictly behind their upstream (as opposed to diverged).\nPossible values: 'none' | 'onlyMainBranches' | 'allBranches'",
|
||||||
"default": "onlyMainBranches"
|
"default": "onlyMainBranches"
|
||||||
},
|
},
|
||||||
"fetchAll": {
|
"fetchAll": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue