Created
December 19, 2019 10:23
-
-
Save emorozov/5b1441c13f1e2cb165195a1d25477446 to your computer and use it in GitHub Desktop.
Find all merged branches in fish shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for branch in (git branch | awk '{ print $1 }') | |
if git log develop | grep $branch > /dev/null 2>&1 | |
echo Merged $branch | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment