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

有帮助吗?

解决方案

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

git commit -a --allow-empty-message -m ''
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top