How to Use the Git Submodule Update Command by Example
ฝัง
- เผยแพร่เมื่อ 24 ก.ค. 2024
- The parent Git repository isn't always in sync with the latest git submodule. That's why you need to occasional do a git submodule update.
The git submodule update command can be a bit confusing though. It doesn't work exactly as one might think. If you don't add the --remote switch, it's not going to update your working directory like you might expect. In this Git remote update example we demonstrate how to update your git submodule the right way.
Short ,clear and to the point . This is a great video
Thanks! I try to keep them simple. Nobody want to hear my views on world politics.
thanks. I was missing one tiny detail and this video cleared it up
Glad I could help! Hopefully you got your answer quickly.
cool explanation, thanks!
Glad I could help! Git submodules are fairly complicated, but once you've got it, you've got it!
Thanks for clarifying that!
Thanks, it was much helpful!
Thank you
Any time!
why my git submodule update --remote failed?
* branch HEAD -> FETCH_HEAD
fatal: Needed a single revision
Unable to find current origin/HEAD revision in submodule path 'xxx'
by mare looks you got that module wizard in your blood stream possess me bro