Git cheatsheet

Various things I need to remember for Git, but that I don’t remember. I know I can read the help to get this, but I still have to wade through a bunch of verbiage.

Delete remote branches (Stackoverflow):

git push all --delete <branch-name>

git remote prune origin

Show filenames in log messages (Stackoverflow)

git log --name-only

Show all merged branches

git branch --merged master