亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

如何追蹤未追蹤的內容?

如何追蹤未追蹤的內容?

Git
翻過高山走不出你 2019-10-23 14:34:55
有關我的原始問題,請參見以下實線。我的本地目錄中有一個未跟蹤的文件夾。當我跑步時git status,我得到:Changed but not updated:modified:   vendor/plugins/open_flash_chart_2 (modified content, untracked content)當我鍵入git add vendor/plugins/open_flash_chart_2然后再試git status一次時,它仍然顯示未跟蹤。這是怎么回事?這是我最近半小時的簡單摘要:發現我的Github存儲庫未跟蹤我的vendor/plugins/open_flash_chart_2插件。具體來說,沒有內容,并且在文件夾圖標上顯示了綠色箭頭。試過了 git submodule initNo submodule mapping found in .gitmodules for path 'vendor/plugins/open_flash_chart_2'試過了 git submodule add git://github.com/korin/open_flash_chart_2_plugin.git vendor/plugins/open_flash_chart_2vendor/plugins/open_flash_chart_2 already exists in the indexgit statusmodified: vendor/plugins/open_flash_chart_2 (untracked content)尋找.gitmodules在我的存儲庫/本地目錄中命名的任何文件,但找不到一個。為了使子模塊正常工作,我必須怎么做?這可能無關緊要(如果有幫助,我也將其包括在內),但是每次鍵入git commit -a而不是通常輸入時git commit -m "my comments",都會引發錯誤:E325: ATTENTIONFound a swap file by the name ".git\.COMMIT-EDITMSG.swp"         dated: Thu Nov 11 19:45:05 2010     file name: c:/san/project/.git/COMMIT_EDITMSG      modified: YES     user name: San   host name: San-PC    process ID: 4268While opening file ".git\COMMIT_EDITMSG"         dated: Thu Nov 11 20:56:09 2010  NEWER than swap file!  Swap file ".git\.COMMIT_EDITMSG.swp" already exists![O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:Swap file ".git\.COMMIT_EDITMSG.swp" already exists![O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:我是Github的一名新手,盡管嘗試閱讀文檔,但對于這些特殊問題我還是有些困惑。謝謝。
查看完整描述

3 回答

  • 3 回答
  • 0 關注
  • 680 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號