I know that this type of questions is addressed in a lot of Q/A, I have studied them but actually I did not found a way to get the what I want.
I am looking for the git logs between two hashes including the logs of hashes used in the range.
From looking to the docs and other Q/A in SO I have found that it is achievable this way:
git log oldest...Newest
But this does not return the log of oldest is excluded.
For example in this repo https://github.com/galniv/jira-git-helper/commits/master
I want the logs between 52209d3738f80e49c724502503d6a72c1e24e6bc
as the oldest and 5456f8cecc5ef5cef5abc1f820a4f044e2153734
as the newest.
The result of git log 52209d3738f80e49c724502503d6a72c1e24e6bc...5456f8cecc5ef5cef5abc1f820a4f044e2153734
returns only two logs instead of 3 :
commit 5456f8cecc5ef5cef5abc1f820a4f044e2153734
Author: Gal Niv <[email protected]>
Date: Tue Mar 21 15:33:55 2017 -0400
Update README.md
commit a4c184ecc7fb4c50705c0ac90c94752a31ce7251
Author: Gal Niv <[email protected]>
Date: Tue Mar 21 11:48:30 2017 -0400
Remove console.log, display current branch name
How to include the log of the oldest hash?