Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.23 KB

README.md

File metadata and controls

37 lines (30 loc) · 1.23 KB

Freya SITAW

Collection of launch files and specific versions of repositories that work together on the xavier of Freya.

Dependencies

How to work with submodules

A git submodule is nothing more than a repository inside another repository. The submodules are stored as links to specific commits of their respective repositories.

You need to clone this repository with the --recursive option

Commands

Add a new submodule (repository):

cd packages
git submodule add <repository-url>

Update submodules if they are not cloned:

git submodule update --init --recursive

Update submodules (when you switch branches for example)

git submodule update

If you switch to a branch that has a different set of submodules, you need to clean the git repository:

git clean -f -f -d

Be careful with this command as this will also remove all untracked changes.