搜尋

首頁  >  問答  >  主體

【新手提問】 git commint -m 無法提交文件到倉庫?

剛學git,遇到一個問題

Admin@SKY MINGW64 /d/WWW/Git (master)
$ ls
readme.txt

git commit -m无法提交,出来一堆提示

git commit readme.txt 出现下面这个,请问是怎么回事呢?

某草草某草草2874 天前810

全部回覆(5)我來回復

  • 黄舟

    黄舟2017-05-02 09:48:40

    雷雷

    回覆
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-02 09:48:40

    貼一下git commit -m問題,第二個,是讓你編輯提交的註釋

    回覆
    0
  • phpcn_u1582

    phpcn_u15822017-05-02 09:48:40

    安裝TortoiseGit就不用用命令列提交了,網上下載tortoiseGit,專案文件右鍵commit,提交文件tortoiseGit=>pull更新代碼 push提交文件到伺服器,很方便。

    回覆
    0
  • PHPz

    PHPz2017-05-02 09:48:40

    git commite 前是要先git add的 樓主add過檔案了嗎?

    回覆
    0
  • 为情所困

    为情所困2017-05-02 09:48:40

    雷雷

    回覆
    0
  • 取消回覆