git commit之前要先git add *****
在 2015年2月13日 上午10:57,yan_5...@163.com <yan_5...@163.com>写道: > 各位好! > 在工作过程中发现了几处CloudStack的小BUG,并修复了下,一直提交过。今天尝试提交到官方时,遇到点问题。 > 按照这个地方介绍的步骤http://cloudstack.apache.org/developers.html > 执行到git commit -m "Insert a meaningful summary of changes > here."时没有输出,再执行git status,仍提示还有未提交的修改。 > 继续执行git format-patch master --stdout > ~/patch-name.patch > 在root目录下生成了patch-name.patch文件,但内容是空的。 > > 有同行提交过代码的,如能抽空给与指导下,不胜感激,谢谢! > > > > 山东济南 崔 >