User Tools

Site Tools


tips:linux:gitsubmodule

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tips:linux:gitsubmodule [2015/04/05 23:34] eriktips:linux:gitsubmodule [2015/11/06 10:01] (current) erik
Line 15: Line 15:
 To **remove** a submodule: To **remove** a submodule:
  
-  git submodule rm example+  git submodule deinit -f example 
 +  git rm --cached path/to/example 
 +  rm -rf .git/modules/path/to/example
      
-More info [[https://chrisjean.com/git-submodules-adding-using-removing-and-updating/|here]].+   
 +More info [[https://chrisjean.com/git-submodules-adding-using-removing-and-updating/|here]] and [[https://subfictional.com/2015/02/17/fun-with-git-submodules/|here]].
tips/linux/gitsubmodule.txt · Last modified: 2015/11/06 10:01 by erik