Adding a submodule using eclipse
You can add a new submodule to a repository by selecting a repository in the Git Repositories view and selecting the Add Submodule context menu option.
The wizard will prompt for the path and URL of the submodule being added. The path entered will be relative to the parent repository's working directory and the URL will be used to clone the repository locally.
Once the wizard is completed the submodule will be cloned, added to the index, and the submodule will be registered in the .gitmodules file as well as in the parent repository's .git/config file.
Credit: http://wiki.eclipse.org/EGit/User_Guide
Credit: http://wiki.eclipse.org/EGit/User_Guide
No comments:
Post a Comment