threads / discuss / 32832

will git provide `submodule remove` option ?‏

Subject: will git provide `submodule remove` option ?‏

## tl;dr

3 messages between Feb 5, 2013 and Feb 7, 2013.

replies: 2people: 2as markdown or json

Lingcha X· Feb 5, 2013, 10:32 UTC · lore
As we all know, git provides `submodule add , init, update, sync, sumary, foreach, status`, but where is `submodule remove`?
will
 I not delete one of them sometime in the future? Although most people 
will not use submodule or one who uses it can remove submodule by hand, providing complete options may be a good idea.
I am not familiar with C, but i can help test it. will anyone finish this feature?

---- Thanks and Best Regards, lingchax

Jens Lehmann· Feb 6, 2013, 21:27 UTC · re: Lingcha X · lore

Re: will git provide `submodule remove` option ?‏

Am 05.02.2013 11:32, schrieb Lingcha X:
Show 5 quoted lines
> As we all know, git provides `submodule add , init, update, sync, sumary, foreach, status`, but where is `submodule remove`?
> 
> will
>  I not delete one of them sometime in the future? Although most people 
> will not use submodule or one who uses it can remove submodule by hand, providing complete options may be a good idea.

Is assume either "git rm <submodule>" (available since 1.8.1) or the upcoming "git submodule deinit" (currently in pu) will do what you want?

Lingcha X· Feb 7, 2013, 05:45 UTC · re: Jens Lehmann · lore

RE: will git provide `submodule remove` option ?‏

Hi Jens,
    `git rm -r submodule` will not do the same thing, i do NOT know if `git submodule deinit`, i will have some tests.
----
Thanks and Best Regards,
lingchax
----------------------------------------
Show 15 quoted lines
> Date: Wed, 6 Feb 2013 22:27:48 +0100
> From: Jens.Lehmann@web.de
> To: douglarek@outlook.com
> CC: git@vger.kernel.org
> Subject: Re: will git provide `submodule remove` option ?‏
>
> Am 05.02.2013 11:32, schrieb Lingcha X:
> > As we all know, git provides `submodule add , init, update, sync, sumary, foreach, status`, but where is `submodule remove`?
> >
> > will
> > I not delete one of them sometime in the future? Although most people
> > will not use submodule or one who uses it can remove submodule by hand, providing complete options may be a good idea.
>
> Is assume either "git rm <submodule>" (available since 1.8.1) or the upcoming
> "git submodule deinit" (currently in pu) will do what you want? 		 	   		  

← back to recent threads