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.
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.