How to get the current git branch

/ Published in: Bash
Save to your folder(s)

git branch will give us all the branches in the current repository and the current branch will be denoted by a * mark.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.