Created
May 15, 2018 06:14
-
-
Save AlesRuzickaEu/584b27de4935cbb4e1b8201d2d1694b5 to your computer and use it in GitHub Desktop.
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
function Git-BranchesList() { | |
git branch --merged | ?{-not ($_ -like '*master')} | %{"$_".trim()} | |
} | |
function Git-BranchesClear() { | |
git branch --merged | ?{-not ($_ -like '*master')} | %{git branch -d "$_".trim()} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment