User Tools

Site Tools


git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
git [2014/09/02 18:01] admingit [2014/09/02 18:04] – [Update a submodules repo] admin
Line 72: Line 72:
 When updating a submodule its required to tell the parent repository to use the latest downloaded version. When updating a submodule its required to tell the parent repository to use the latest downloaded version.
  
-  cd /PATH/TO/REPOS/SUBMODULE/+  cd /YOUR/CLONED/REPO/SUBMODULE/
   git pull origin master   git pull origin master
   cd /YOUR/CLONED/REPO   cd /YOUR/CLONED/REPO
   git commit -am "Upgrade submodules ..."   git commit -am "Upgrade submodules ..."
   git push origin   git push origin
git.txt · Last modified: 2021/01/19 23:58 by admin