Created
April 9, 2019 19:13
-
-
Save selfup/6fb610cb21de8a3691f6897e85550070 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
git branch \ | |
| grep -v '* master' \ | |
| grep UPT \ | |
| elixir -e 'IO.read(:all) |> String.trim("\n") |> fn args -> "git branch -d #{args}" end.() |> to_charlist |> :os.cmd |> IO.puts' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment