summaryrefslogtreecommitdiffstats
path: root/cholerab/cockbook
diff options
context:
space:
mode:
authortv <tv@xso>2011-08-29 22:41:38 +0200
committertv <tv@xso>2011-08-29 22:41:38 +0200
commit2864df44d167066d1e409afc817cbcb56f350bb9 (patch)
tree20b2901f27cf3c5e7010a656ad7f0bbeb21d3a81 /cholerab/cockbook
parentb2d864b10c9924861f9684bfc9f232f7d6c5cadb (diff)
cholerab cockbook git remove-submodule: init
Diffstat (limited to 'cholerab/cockbook')
-rw-r--r--cholerab/cockbook/git/remove-submodule5
1 files changed, 5 insertions, 0 deletions
diff --git a/cholerab/cockbook/git/remove-submodule b/cholerab/cockbook/git/remove-submodule
new file mode 100644
index 00000000..da8a1b00
--- /dev/null
+++ b/cholerab/cockbook/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.
+