I have a project in Git. What 开发者_开发百科I want is a list of only the commit messages and the hashes between two commits and store it in a text file. Is there any command that does this ?
Thanks.
git log --pretty=oneline commit1...commit2 > file
I have a project in Git. What 开发者_开发百科I want is a list of only the commit messages and the hashes between two commits and store it in a text file. Is there any command that does this ?
Thanks.
git log --pretty=oneline commit1...commit2 > file
精彩评论