错误fatal: Paths with -a does not make sense. 在使用git commit -am ‘注释’ 提交项目时候报错,百度后发现是因为在windows系统下使用提交注释时候,需要使用双信号即: git commit -am "注释"