git branch --list

From wikieduonline
Jump to navigation Jump to search

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: