NEWS COMMUNITY STORE LABS GIT SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE LABS GIT TOGGLE FULLSCREEN VOLLBILD AN/AUS image/svg+xml image/svg+xml image/svg+xml SUBMODULES
Working with submodules
image/svg+xml image/svg+xml Working with submodules image/svg+xml






Submodules ...
... are included into repositories.
... can be uploaded/downloaded (push/pull) independently
... have some special commands for the parent repository








INITILIAZING A SUBMODULE
A submodule needs to be initialized and updated if it was addedd the first time (either new from a commit or because the parent repository was freshly cloned). project/path:$git submodule init {submodule-directory} project/path:$git submodule update {submodule-directory}






UPDATING ALL SUBMODULES
All submodules can be downloaded (pull/checkout) at once, saving you time by not doing it manually for each. project/path:$git submodule update --remote --merge






REMOVING A SUBMODULE
A submodule can also be removed. This removal will not remove its influence in the history of the project. All previous history states (commits) will still include the submodule. project/path:$git submodule deinit {submodule-directory} project/path:$git rm {submodule-directory}






Links Official Documentation
Working with Submodules
On Devconnected - Add & Update Git Submodules









All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...