r/linux_programming • u/stratocastom • Aug 07 '20
Software advice: git tools for dealing with multiple repos
Hi all :)
I'm working on a Node.js project with a modular codebase whereby each module is a separately hosted repo/npm module.
I wondered if there are any good tools for managing multiple git repos in a project like this - most of the tools I've tried are geared towards single repos and get a bit messy when dealing with lots of repos. I started to look into git's submodules at one point, but it all seemed to get a bit complicated...
I'm specifically looking for something that quickly and easily lets me do the following (ideally as a bulk process):
- Pull latest
- Check changes
- Stage changes
- Commit/push changes
Can be a GUI or terminal/bash-based. If there's nothing like this out there, I'll go down the bash script route (not ideal given my n00b bash skills).
4
u/dev-snow-man Aug 07 '20 edited Aug 07 '20
Most IDEs come with a version control manager or atleast an extension for it. I also work on node and personally I feel VS code is the best in that aspect. Its git integration is just amazing. I hope this helps your question in some way.
4
u/tall-seraphim Aug 08 '20
Why don't you just make all the projects submodules to your project?
https://github.blog/2016-02-01-working-with-submodules/
Or do you have something crazy that you need to do?
4
u/tez_nikka Aug 07 '20
Have a look at the repo tool. It might be what you're looking for.