re: Programmatically get current git branch VIEW POST

FULL DISCUSSION
 

You can also use any of the following.

Windows: git branch | findstr \*
Linux: git branch | grep \*

code of conduct - report abuse