I'm just starting to use git,开发者_StackOverflow中文版 and hosting the repository in assembla. I would like to keep track of the commits I make in a .log file. Can anybody point me in the right direction for doing this? I've been googling for a while but haven't found anything that can get me started.
Thanks!
You can simply use git log and redirect that to a file.
git log --pretty=format:'%h : %s' --graph > commit_log.log
This would give you summary with the graph of commits.
精彩评论