我在windows端无法用git commit -am的方式提交

来源:5-6 git初始化

sd1700092

2017-06-22

D:\IdeaProject\mmall>git commit -am 'first commit init project'
fatal: Paths with -a does not make sense.

如果我换成git commit -m 'first commit init project'
error: pathspec 'commit' did not match any file(s) known to git.
error: pathspec 'init' did not match any file(s) known to git.
error: pathspec 'project'' did not match any file(s) known to git.


这个怎么办,怎么和老师教得不一样啊    

写回答

1回答

Geely

2017-06-22


hi同学你好是这样的


在windows下 要用 双引号。再试试。

0
6
慕无忌6101691
回复
sd1700092
为什么我的换成双引号也不对呢
2018-08-11
共6条回复

从0开始 独立完成企业级Java电商网站服务端开发

前后端分离,数据库接口设计,架构设计,功能开发,上线运维

9499 学习 · 8820 问题

查看课程