Program to run git commands in git repos recursively. This is just a convenience function for running git commands in multiple repos. I find it particularly useful in my ROS workspaces (espeicially if I don't want to change my .rosinstall to use wstool up)
rgit takes one argument (the starting directory) and passes all other arguments to the git command. So really any git command should be possible, but some don't make a ton of sense to use recursively. There are a few examples below.
rgit . pull
rgit ~ status
rgit . log --committer=<[email protected]>
- Install GNU parallel (e.g.
sudo apt-get install parallel
) - Copy file
rgit
executable to/usr/local/bin/rgit
and mark it executablesudo chmod +x /usr/local/bin/rgit
Make release version that can be installed more easily on distributions