Difference between revisions of "Git branch --list"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
* <code>[[git branch --list -a]]</code> | * <code>[[git branch --list -a]]</code> | ||
+ | |||
+ | git branch --list -a | ||
+ | main | ||
+ | list | ||
+ | * currentbranch | ||
+ | remotes/origin/yourbranch1 | ||
+ | remotes/origin/yourbranch2 | ||
+ | remotes/origin/yourbranch1 r | ||
+ | |||
== Related == | == Related == |
Revision as of 11:00, 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 r
Related
See also
git branch
,git: upstream
,git branch --delete branch name
,[ --list | -a | -r | -M ]
Advertising: