Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AbhishekThorat/ec1edd1d22e2d4a25580973c6feb89f3 to your computer and use it in GitHub Desktop.
Save AbhishekThorat/ec1edd1d22e2d4a25580973c6feb89f3 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