Skip to content

Instantly share code, notes, and snippets.

@dphilla
Last active June 18, 2018 18:32
Show Gist options
  • Save dphilla/409a71190e7707a3c1126c374fd3d29e to your computer and use it in GitHub Desktop.
Save dphilla/409a71190e7707a3c1126c374fd3d29e to your computer and use it in GitHub Desktop.
Long and Helpful Git Commands

git merge-tree "git merge-base branch_1 branch_2" branch_1 branch_2 | grep -A3 "changed in both"

git log --oneline --decorate --all --graph for fun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment