Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 395 Bytes

File metadata and controls

5 lines (4 loc) · 395 Bytes

Git shortcuts created with alias (tested on mac os)

Alias Explanation Example Script to create it
git deleteLocal '{BRANCH_NAME}' Locally delete branches with that text pattern git deleteLocal 'tmp*' -> removes all the branches that starts with tmp git config --global alias.deleteLocal '!f() { git branch | grep "^ $1" | xargs git branch -d; }; f'