Feature Request: Batch import/install submodules from a file (.gitmodules, CSV, or JSON)
Is your feature request related to a problem? Please describe.
When setting up complex projects or migrating dependencies, adding multiple Git submodules one by one through the UI can be time-consuming and repetitive. Currently, SourceGit requires adding each submodule manually through the interface.
Describe the solution you'd like
A batch import tool for submodules that allows users to supply a list of submodules via an input file (such as an existing .gitmodules file, CSV, or JSON) and installs all defined submodules in one step.
Suggested Workflow / UI
- Trigger: An option under the Submodules section or main menu (e.g.,
Submodules > Batch Add Submodules...).
- File Selection: A dialog to select an input file (
.gitmodules, .csv, or .json).
- Preview & Selection List: A preview dialog listing the parsed submodules (Path, URL, Branch) with checkboxes, allowing users to select/deselect specific submodules before initiating the batch operation.
- Execution: Progress bar / log window showing the clone status for each submodule sequentially or in parallel.
Supported Input Formats (Examples)
[submodule "libs/foo"]
path = libs/foo
url = https://github.com/example/foo.git
branch = main
path,url,branch
libs/foo,https://github.com/example/foo.git,main
libs/bar,https://github.com/example/bar.git,
Alternative solutions considered
Using a custom script or terminal commands (git submodule add ... in a loop) outside SourceGit. Having this natively in the GUI would significantly streamline team onboarding and repository setup inside SourceGit.
Additional context
This feature would be especially helpful for developers managing large monorepos, modular projects, or multi-repo setups with tens of external dependencies.
Feature Request: Batch import/install submodules from a file (
.gitmodules, CSV, or JSON)Is your feature request related to a problem? Please describe.
When setting up complex projects or migrating dependencies, adding multiple Git submodules one by one through the UI can be time-consuming and repetitive. Currently, SourceGit requires adding each submodule manually through the interface.
Describe the solution you'd like
A batch import tool for submodules that allows users to supply a list of submodules via an input file (such as an existing
.gitmodulesfile, CSV, or JSON) and installs all defined submodules in one step.Suggested Workflow / UI
Submodules > Batch Add Submodules...)..gitmodules,.csv, or.json).Supported Input Formats (Examples)
.gitmodulesformat:Alternative solutions considered
Using a custom script or terminal commands (
git submodule add ...in a loop) outside SourceGit. Having this natively in the GUI would significantly streamline team onboarding and repository setup inside SourceGit.Additional context
This feature would be especially helpful for developers managing large monorepos, modular projects, or multi-repo setups with tens of external dependencies.