Skip to content

Instantly share code, notes, and snippets.

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 barseghyanartur/626e32a7bbd6b1e8e5b67ff79a77b12f to your computer and use it in GitHub Desktop.
Save barseghyanartur/626e32a7bbd6b1e8e5b67ff79a77b12f to your computer and use it in GitHub Desktop.
How to see Git logs between 2 commits?
git log --oneline 7de7970..master

OR

git log --oneline 7de7970..4cb34a9

Above command will give all logs between commit A and commit B including commit A and commit B.

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