Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 没有提交消息的 Git 提交
我正在寻找一种将 Git 配置为在签入时不需要评论的方法。我希望它可以在存储库端完成,但如果它是客户端设置,那没关系。我将主要使用 Eclipse 插件,但有时可能会使用 Git GUI。
谢谢
这违背了良好的版本控制实践,但是这应该为您做到:
git commit -a --allow-empty-message -m ''