Answers for "find out a branch a parent branch git"

2

find out a branch a parent branch git

git show-branch -a | grep '\*' | grep -v `git rev-parse --abbrev-ref HEAD` | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//'
Posted by: Guest on April-18-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language