Getting a list of commits along with the commit message and hash in Git August 16, 2023 by Tarik git log --pretty=oneline commit1...commit2 > file