question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support updating git submodules

See original GitHub issue

I 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:open
  • Created 5 years ago
  • Reactions:3
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
HaukurPallcommented, Nov 12, 2018

Yes, I can take on this PR. Not sure when I can do it though.

0reactions
stv0gcommented, Jun 6, 2019

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found