Skip to content

Commit

Permalink
Adding submodule instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
karadikid committed Jul 16, 2020
1 parent 179749f commit b4ee7b3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dialectic-yoga/remove_submodule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
0. mv a/submodule a/submodule_tmp

1. git submodule deinit -f -- a/submodule
2. rm -rf .git/modules/a/submodule
3. git rm -f a/submodule
# Note: a/submodule (no trailing slash) #

# or, if you want to leave it in your working tree and have done step 0#
3. git rm --cached a/submodule
3bis mv a/submodule_tmp a/submodule

0 comments on commit b4ee7b3

Please sign in to comment.