blogwi.se RSS

Creating something big & beautiful

My own little place for thoughts, ideas and projects / jobs related two-liners or plain, unfiltered braindumps.

© Jörg Battermann
x | li | d | f | u | t

Jörg Battermann

Archive

Nov
19th
Wed
permalink

Properly removing a git submodule

Oh my.. since I keep stumbling over this every now and then, here’s the 3 steps necessary to completely remove a submodule within a git repository:

  1. Remove the entry from your “.gitmodules” file
  2. Look in “.git/config” for an entry for the submodule & remove it, too
  3. (The important one) … run a “git rm —cached <path/to/submodule>

And that should be it. Without the 3.) you’ll most likely end up having problems updating your other submodules… with git nagging about “No submodule mapping found in .gitmodules for path ABC”.

Comments (View)
permalink
Comments (View)
permalink
Comments (View)
permalink
Comments (View)
Nov
18th
Tue
permalink
Comments (View)
permalink
Comments (View)
Nov
17th
Mon
permalink
Comments (View)
Nov
16th
Sun
permalink

tylerhwillis:

Peter Diamandis: Energetic Fundraising (via stanforduniversity)
Comments (View)
Nov
15th
Sat
permalink
Comments (View)
Nov
14th
Fri
permalink
Comments (View)
permalink
Comments (View)
permalink
Comments (View)
permalink
Comments (View)
permalink
Comments (View)
permalink
Comments (View)