Skip to content

Get current branch name

29 March, 2021

bash
git branch | cut -d ' ' -f2

Written while 🙇🏽‍♀️