4
我無法通過Git將以下子模塊推入到Github中。我看到以下錯誤消息。我究竟做錯了什麼?無法在Git中添加子模塊
我跟着這個步驟:
cd my_project
git init
git add *
git status
然後,它顯示的信息爲:
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: server/auth (modified content)
no changes added to commit (use "git add" and/or "git commit -a")
當我推,我的子文件夾服務器/ AUTH是不會對我的github倉庫後,請幫我解決這個問題我是新手: 我的項目結構如下: 服務器爲主,客戶端,資源和驗證碼作爲子模塊,除了「驗證碼」一切都在進行中。
你確定指示添加並提交更改在嘗試推送之前? – Michael0x2a
是的,我跟着這個鏈接:http://befused.com/git/existing-project-github#comment-138207 – ratnesh
你確定嗎?您發佈的錯誤消息是說您在嘗試推送之前沒有添加或提交您的'golive-server/golive-auth'。你可以編輯你的問題,幷包括完成編輯所有文件後輸入的命令的確切順序? – Michael0x2a