1

I'm just starting to use git, 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!

bb2
  • 2,872
  • 7
  • 37
  • 45
  • 4
    What about git log ? Isn't that enough? – khmarbaise Aug 29 '11 at 00:01
  • Yes! thanks, I used that and redirected the output to a file git log > project.log – bb2 Aug 29 '11 at 00:12
  • See this question: http://stackoverflow.com/questions/5150690/maintaining-a-changelog-txt-file-in-a-dvcs. I'm quite sure that you don't want to hold **every** commit in your changelog. – eckes Aug 29 '11 at 13:30

2 Answers2

1

You can simply use git log and redirect that to a file.

khmarbaise
  • 92,914
  • 28
  • 189
  • 235
0

git log --pretty=format:'%h : %s' --graph > commit_log.log

This would give you summary with the graph of commits.

yogi_peace
  • 111
  • 2
  • 5