summaryrefslogtreecommitdiffstats
path: root/cholerab/cockbook/git/remove-submodule
diff options
context:
space:
mode:
authorroot <root@krebs>2011-09-01 02:18:42 +0200
committerroot <root@krebs>2011-09-01 02:18:42 +0200
commitbb2a234ba756eb600fb6f562e67500d511d4ab39 (patch)
treec89b205e3ad2d20e3aa80ca525e0bbf1e01b4670 /cholerab/cockbook/git/remove-submodule
parent8a6fd84c70618f5a435d2859b513de6de68dc0d1 (diff)
parent4fb37da707279faf92cc8a054c646336f23dfdbe (diff)
Merge branch 'master' of github.com:/krebscode/painload
Conflicts: .gitmodules oncology/dpfhack_display
Diffstat (limited to 'cholerab/cockbook/git/remove-submodule')
-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.
+