Difference between revisions of "Git branch --list"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
staging | staging | ||
− | + | [[git branch --list -a]] | |
− | |||
− | |||
main | main | ||
list | list | ||
Line 14: | Line 12: | ||
remotes/origin/yourbranch1 | remotes/origin/yourbranch1 | ||
remotes/origin/yourbranch2 | remotes/origin/yourbranch2 | ||
− | remotes/origin/yourbranch1 | + | remotes/origin/yourbranch1 |
Latest revision as of 11:01, 19 January 2024
git branch --list -a
git branch --list
orgit branch -l
prod staging
git branch --list -a main list * currentbranch remotes/origin/yourbranch1 remotes/origin/yourbranch2 remotes/origin/yourbranch1
Related[edit]
See also[edit]
git branch
,git: upstream
,git branch --delete branch name
,[ --list | -a | -r | -M ]
Advertising: