git/git — pull request #28 by lindenle (2012-11-01 17:37:04+00:00)
Title: Add rm to submodule command

I got tired of doing this by hand so I added the command to the shell script.

example:
$git submodule rm modules/accounts
rm 'modules/accounts'

$git status -sb
## production-smf1
M .gitmodules
D modules/accounts

$git submodule -h
Usage: git submodule [--quiet] add [-b branch] [-f|--force] [--reference ] [--] []
or: git submodule [--quiet] rm [-b branch] [-f|--force] [--] []
or: git submodule [--quiet] status [--cached] [--recursive] [--] [...]
or: git submodule [--quiet] init [--] [...]
or: git submodule [--quiet] update [--init] [-N|--no-fetch] [-f|--force] [--rebase] [--reference ] [--merge] [--recursive] [--] [...]
or: git submodule [--quiet] summary [--cached|--files] [--summary-limit ] [commit] [--] [...]
or: git submodule [--quiet] foreach [--recursive]
or: git submodule [--quiet] sync [--] [...]