-1

Possible Duplicate:
Git commit with no commit message

I am looking for a way to configure Git to not require a comment upon checkins. I hope it can be done on the repository side but if it is a client setting, that's OK. I will mostly be using the Eclipse plugin but may use Git GUI from time to time.

Thanks

Community
  • 1
  • 1
amphibient
  • 29,770
  • 54
  • 146
  • 240
  • Is there a particular reason why? commit messages are an easy way to find a certain point in time in a repo and having no message or the same message seems to defeat that purpose. – RDL Oct 26 '12 at 15:38
  • 1
    ah. From experience, 4-6 months down the road you won't remember what happened when or for what reason. – RDL Oct 26 '12 at 15:42
  • 1
    There is no such thing as a "checkin" in Git, and you shouldn't do what you're trying to do. Useful commit messages are a Good Thing. @RDL Back to work, jerk. – user229044 Oct 26 '12 at 15:42

1 Answers1

2

This goes against good version control practices, however this should do it for you:

git commit -a --allow-empty-message -m ''
RDL
  • 7,865
  • 3
  • 29
  • 32