summaryrefslogtreecommitdiffstats
path: root/cholerab/HACKING/git/remove-submodule
diff options
context:
space:
mode:
authortv <tv@iiso>2011-09-22 22:03:10 +0200
committertv <tv@iiso>2011-09-22 22:03:10 +0200
commita1885b309ceb50afddf3b6cf758b3569e942ecbb (patch)
tree6acd7340f228840b1b8ee983db19c9c99d2802e4 /cholerab/HACKING/git/remove-submodule
parenta957baab311198a97279d4ac01cbc7503b1079c5 (diff)
//cholerab: cleanup structure
Diffstat (limited to 'cholerab/HACKING/git/remove-submodule')
-rw-r--r--cholerab/HACKING/git/remove-submodule5
1 files changed, 5 insertions, 0 deletions
diff --git a/cholerab/HACKING/git/remove-submodule b/cholerab/HACKING/git/remove-submodule
new file mode 100644
index 00000000..da8a1b00
--- /dev/null
+++ b/cholerab/HACKING/git/remove-submodule
@@ -0,0 +1,5 @@
+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.
+