Answers for "github get parent branch"

0

github get parent branch

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-07-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language