Difference between revisions of "Git branch --list"

From wikieduonline
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
 
   main
 
   list
 
   list

Revision as of 11:01, 19 January 2024

List all branches:

prod 
staging
  main
  list
* currentbranch
  remotes/origin/yourbranch1
  remotes/origin/yourbranch2
  remotes/origin/yourbranch1   


Related

See also

Advertising: