Pergunta

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

Foi útil?

Solução

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

git commit -a --allow-empty-message -m ''
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top