40823152CAD2020

  • Home
    • Site Map
    • reveal
    • blog
  • 主頁
    • About
  • w1-w6
    • 個人
    • 團隊
    • 教學影片
      • SOLDWORKS教學影片
      • Inventor教學影片
  • W7
  • W10-W18
    • w10
    • W12
    • W13
    • W14
    • w15
    • W16
    • W17
  • 心得
  • meeting
    • 一
    • 二
  • 指令
  • bug
    • cmsimde錯誤
    • url錯誤
  • Develop
bug << Previous Next >> url錯誤

cmsimde錯誤

github 送上去的資料沒有綠勾,cmsimde開不起來,要刪除cmsimde重新安裝。

  1. Delete the relevant section from the .gitmodules file.
  2. Stage the .gitmodules changes:
    git add .gitmodules
  3. Delete the relevant section from .git/config.
  4. Remove the submodule files from the working tree and index:
    git rm --cached path_to_submodule (no trailing slash).
  5. Remove the submodule's .git directory:
    rm -rf .git/modules/path_to_submodule
  6. Commit the changes:
    git commit -m "Removed submodule <name>"
  7. Delete the now untracked submodule files:
    rm -rf path_to_submodule

步驟

1.把cp2020的.gitmodules 刪掉

2.打git add .gitmodules指令 註:在cp2020裡目錄打指令

3.打git rm --cached cmsimde

4.打rm -rf .git/modules/path_to_submodule #無法用rm,直接進到cp2020/.git檔/modules/刪掉cmsimde資料夾

5.打git commit -m "cmsimde"

6.打rm -rf path_to_submodule #無法用rm,直接進到cp2020刪掉cmsimde資料夾

7.git submodule add https://github.com/mdecourse/cmsimde

8.git add .

9.git commit -m "name"

10.git push


bug << Previous Next >> url錯誤

Copyright © All rights reserved | This template is made with by Colorlib