Commit 0f01190f authored by VIHARI PIRATLA's avatar VIHARI PIRATLA

Update cheat-sheet.md

parent 7167211e
...@@ -80,8 +80,10 @@ Through submodules, we can add dependency from the current project to any other ...@@ -80,8 +80,10 @@ Through submodules, we can add dependency from the current project to any other
`git submodule sync` `git submodule sync`
When the path to a gitmodue is changed in `.gitmodule` then use this command for the changes to be reflected in the .git/conf file. When the path to a gitmodue is changed in `.gitmodule` then use this command for the changes to be reflected in the .git/conf file.
`git submodule update --recursive --remote` `git submodule update --recursive --remote`
Updates the submodules -- http://stackoverflow.com/questions/1030169/easy-way-pull-latest-of-all-submodules Updates the submodules -- http://stackoverflow.com/questions/1030169/easy-way-pull-latest-of-all-submodules
`git submodule update --init --recursive` `git submodule update --init --recursive`
Pulls all the content in all the submodules of the repository, use `init` when you are doing it for the first time -- http://stackoverflow.com/questions/1030169/easy-way-pull-latest-of-all-submodules Pulls all the content in all the submodules of the repository, use `init` when you are doing it for the first time -- http://stackoverflow.com/questions/1030169/easy-way-pull-latest-of-all-submodules
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment