From 2864df44d167066d1e409afc817cbcb56f350bb9 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 29 Aug 2011 22:41:38 +0200 Subject: cholerab cockbook git remove-submodule: init --- cholerab/cockbook/git/remove-submodule | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cholerab/cockbook/git/remove-submodule (limited to 'cholerab/cockbook/git/remove-submodule') 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. + -- cgit v1.2.3