2016年3月29日 星期二

[Git] How to remove submodule

Delete the relevant line from the .gitmodules file.

Delete the relevant section from .git/config.

Run git rm –cached path_to_submodule (no trailing slash).

Commit and delete the now untracked submodule files.

Reference:

0 意見:

張貼留言