Skip to content

Instantly share code, notes, and snippets.

@ddunkin
Created December 19, 2023 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddunkin/59a304de0b9352cf81c7668c970589b8 to your computer and use it in GitHub Desktop.
Save ddunkin/59a304de0b9352cf81c7668c970589b8 to your computer and use it in GitHub Desktop.
gitconfig aliases
[alias]
undo = reset --soft HEAD~
branch-clean = "!git branch --merged master | grep -v '\\bmaster\\b' | xargs -n 1 git branch -d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment