Difference between revisions of "Git branch --list"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
  staging
 
  staging
  
* <code>[[git branch --list -a]]</code>
+
[[git branch --list -a]]
 
 
git branch --list -a
 
 
   main
 
   main
 
   list
 
   list

Latest revision as of 11:01, 19 January 2024

List all branches:

prod 
staging
git branch --list -a
  main
  list
* currentbranch
  remotes/origin/yourbranch1
  remotes/origin/yourbranch2
  remotes/origin/yourbranch1   


Related[edit]

See also[edit]

Advertising: