mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-16 17:51:27 +02:00
git: change docs for git_main_branch
Also remove unnecesary dramatic remark
This commit is contained in:
@ -25,8 +25,7 @@ function work_in_progress() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Get the default 'main' branch
|
||||
# Marc(2020-07-11): I hope to be able to remove this someday
|
||||
# Get the default 'main' branch: from origin, from local branches, or else just 'master'
|
||||
function git_main_branch() {
|
||||
# Get default branch from the origin remote
|
||||
local branch
|
||||
|
Reference in New Issue
Block a user