User Tools

Site Tools


tips:linux:gitsubmodule

This is an old revision of the document!


Git Submodules: Adding, Using, Removing, Updating

To add a submodule in the current directory:

git submodule add https://github.com/example

To get the status of submodules:

git submodule status

To update submodules:

git submodule update

To remove a submodule:

git submodule rm example

More info here.

tips/linux/gitsubmodule.1428276870.txt.gz · Last modified: 2015/04/05 23:34 by erik