Skip to content
Michaela Farova edited this page Jul 24, 2015 · 4 revisions

How to push from submodules:

  1. Go into submodule, make changes
  2. Add changes within submodule, and commit
  3. Try pushing changes in submodules. If it says everything is up to date even though you just made a commit, run the following:
  • git checkout master
  • git merge HEAD@{1}
  • git push origin master
  1. Code in submodule should now be pushed
  2. Go outside into root directory, add the submodule to git (this updates the references), commit and git push normally

Clone this wiki locally