bb2
bb2

Reputation: 2982

How to write a .log file about commits

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!

Upvotes: 1

Views: 907

Answers (2)

yogi_peace
yogi_peace

Reputation: 111

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

This would give you summary with the graph of commits.

Upvotes: 0

khmarbaise
khmarbaise

Reputation: 97467

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

Upvotes: 1

Related Questions