簡體   English   中英

無法運行命令: git add 。 && git commit -m "初始提交"

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM