[英]Can I commit initial untracked files in git using this command "git commit -am"?
[英]Can not run the command: git add . && git commit -m "Initial commit'
我无法运行命令: git add 。 && git commit -m "Initial commit' 我给出一个错误:Pathspec commit does not match any fields known to git
提交时的引用问题在这里并不总是很重要:在 CMD 中,这会起作用。
'&&' 可能有问题,具体取决于您的 bash 会话。
试试吧
git add .; git commit -m "Initial commit"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.