DEV Community

Discussion on: My Personal Git Tricks Cheatsheet

Collapse
 
oli8 profile image
Olivier

I just do this to get the current branch:
git branch | grep '*'