Skip to content

Tag: GitHub

Get current branch name

To get the branch you’re currently on in git, run this command: [sc name=”src” url=”https://stackoverflow.com/questions/6245570/how-to-get-the-current-branch-name-in-git” ]

Leave a Comment