开发者

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

开发者 https://www.devze.com 2023-03-20 06:39 出处:网络
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 ?

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

精彩评论

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