Support updating git submodules
See original GitHub issueI think it would be a useful feature support for git submodules in nbgitpuller.
The support I had in mind was simply calling git submodule init
and then git submodule update
when updating a repo.
When a repo is updated which uses git submodules, these functions will most likely need to be called. Expecting the not-tech-savvy user to call these functions will cause confusion.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:10 (6 by maintainers)
Top Results From Across the Web
git-submodule Documentation - Git
git -submodule - Initialize, update or inspect submodules ... The update procedures supported both from the command line as well as through the...
Read more >How To Add and Update Git Submodules - devconnected
In order to add a Git submodule, use the “git submodule add” command and specify the URL of the Git remote repository to...
Read more >Using submodules in Git - Tutorial - Vogella.com
Use the git submodule update command to set the submodules to the commit specified by the main repository. This means that if you...
Read more >Git submodule update - Stack Overflow
A submodule enables you to have a component-based approach development, where the main project only refers to specific commits of other ...
Read more >Git Submodules: Adding, Using, Removing, Updating
Updating Submodules · Initialize the repository's submodules by running git submodule init followed by git submodule update . · Change into the submodule's ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, I can take on this PR. Not sure when I can do it though.
I am also interested in this feature.
git submodule update
has three different modes:--merge
,--rebase
,--checkout
.I am not sure which one we should use. @yuvipanda what do you think? Which one is closest to nbgitpullers strategy?