November 12, 2017

Update a Git Submodule

  —A look at how Git submodules work.

Using a git submodule produces this message from within the submodule repository.

Clean status in submodule repository.
Clean status in submodule repository.

The Jekyll repository has new commits.

Using git status from within the parent repository.

Unclean status in parent repository.
Unclean status in parent repository.

Remedy: from within the parent repository execute.

git add jekyll
git commit -m "jekyll update"

Tool Chain:

  • git version 2.9.3

References

comments powered by Disqus