Bash: Git current branch into a variable
Aug 2, 2023
export CURRENT_BRANCH_NAME=$(git branch — show-current)
export CURRENT_BRANCH_NAME=$(git branch — show-current)
Software Contractor — Java, Spring, k8s, AWS, Javascript @ London - hire me at https://elvisciotti.github.io/