Skip to content

Instantly share code, notes, and snippets.

@mochsner
Last active September 2, 2021 01:41
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 mochsner/0db091ebff709656118740851441a79e to your computer and use it in GitHub Desktop.
Save mochsner/0db091ebff709656118740851441a79e to your computer and use it in GitHub Desktop.
Git Snippets
# diff branches
git diff --name-only branch_1...branch_2
# Get a tree view of all commits / branches
git log --oneline --graph --decorate --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment