Merge pull request #607 from heckj/submodule_note_add
adding a note on how to reset all the submodules
This commit is contained in:
commit
2a61e7a926
|
@ -17,3 +17,7 @@ To update all submodules to their latest commits:
|
||||||
|
|
||||||
git submodule foreach git pull origin master
|
git submodule foreach git pull origin master
|
||||||
|
|
||||||
|
If you messed around with those projects and want to reset them to where the current project thinks
|
||||||
|
they should be, you can use the command:
|
||||||
|
|
||||||
|
git submodule foreach --recursive git reset --hard
|
||||||
|
|
Loading…
Reference in New Issue