Wednesday, January 11, 2012

Update Git Submodules

// Check submodules
git submodule


For example, I want to update my RestKit submodule at the (project root)/RestKit/ folder, I do the following steps:

// Update RestKit
cd RestKit/
git fetch
git merge origin/master

// Commit/Push changes
cd ..
git add RestKit
git commit -m "..."
git push

No comments:

Post a Comment