开发者

Getting a list of commits along with the commit message and hash in Git

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜