Re: Deleting a submodule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/3/12 Pedro Melo <melo@xxxxxxxxxxxxxxxx>:
> I couldn't find a git-submodule command to delete a submodule. What is the
> correct procedure?
>
> I did:
>
>  * removed the entry from .gitmodules;
>  * run git submodule sync
>
> But its still recorded somewhere.

git rm --cached path/to/submodule
git commit -m'Submodule path/to/submodule removed'
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux