You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This question details methods to list off the submodules using the git command instead of using git's internal files.
This method iterates through the .gitmodules file. This method iterates through the .git/config file (I believe it does anyway - based on a skim of git's source code)
I would very much appreciate this feature. The really great addition "Copy GitHub deep links" yields invalid links when working in a repo with submodules 😒
We are working on several apps that use a shared framework. This is included as a submodule. Since we often work on both in parallel, we usually create a pull request for the app and the framework.
It would be great if the extension could also handle pull requests for submodules.
Activity
pinuke commentedon Mar 30, 2023
Proposed Method 1: Using git's internal files to accomplish this:
Here is a starting point for figuring out how to handle submodules: .gitmodules vs .git/config
according to this comment, .git/config takes precedence over .gitmodules
this answer confirms that
pinuke commentedon Mar 30, 2023
Proposed Method 2: Using
gitcommandsThis question details methods to list off the submodules using the
gitcommand instead of using git's internal files.This method iterates through the .gitmodules file.
This method iterates through the .git/config file (I believe it does anyway - based on a skim of git's source code)
[-]Add support for submodules[/-][+]Add support for git submodules[/+]pp244 commentedon Apr 13, 2023
I would very much appreciate this feature. The really great addition "Copy GitHub deep links" yields invalid links when working in a repo with submodules 😒
DFelten commentedon Jul 20, 2023
We are working on several apps that use a shared framework. This is included as a submodule. Since we often work on both in parallel, we usually create a pull request for the app and the framework.
It would be great if the extension could also handle pull requests for submodules.
oleg-liatte commentedon Aug 7, 2023
There actually IS support of submodules, somewhat limited and probably unintended. See #5148 workaround.
It seems that it could be enough to just sync to Source Control panel to "see" all checked out nested repos, including submodules.
alexr00 commentedon Dec 14, 2023
Submodules should work much better now. If you see specific issues with submodules, please file new issues and I will investigate!