How to completely remove a submodule:
- Run
git rm -rf path/to/submodule(use --cached if it's already gone) - Remove entry in
.gitmodules - Remove entry in
.git/config - Run
rm -rf .git/modules/
| % -------------------------------------------------------------- | |
| % This is all preamble stuff that you don't have to worry about. | |
| % Head down to where it says "Start here" | |
| % -------------------------------------------------------------- | |
| \documentclass[12pt]{article} | |
| \usepackage[margin=1in]{geometry} | |
| \usepackage{amsmath,amsthm,amssymb} | |
How to completely remove a submodule:
git rm -rf path/to/submodule (use --cached if it's already gone).gitmodules.git/configrm -rf .git/modules/Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223