Replies: 1 comment
-
Indeed I feel that problem even though ultimately I only work on a single repository at a time. That said, The functionality is also available as library for consumption within Rust programs.
|
Beta Was this translation helpful? Give feedback.
-
I am sure I am not the only one around who has needed something along these lines, but almost every time I need to work on some project or other, I am faced with having to juggle more than one git repository at a time.
Often this means checking out N repositories, making a change in one or more of these, pushing a change to remotes, keeping local clones up-to date, rebasing, mergeing, etc. You get the gist.
To do that I've written couple of versions of a tool that would allow me to do common operations on a bunch of repos with a single command. My latest attempt is now up on GitHub so that I would not have to write it again next time I switch my laptop. Don't mind the code as much as the general idea of it.
Basically, I want a tool that would behave mostly as a regular
git
command line, but would perform it's actions on all git repos within current working directory.In addition it would have few commands render somewhat different output where it makes sense.
I have implemented table formatted version of
git-status
for example that displays a table of statuses details for each repository it found.What I am getting at is a suggestion to implement such a tool inside gitoxide itself.
That could bring some significant performance and user experience benefits as it would be much easier to parallelize all operations and have a more dynamic output compared to a shell scripting language.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions