Inn is a shell script to execute commmands in multiple directories.
sh
cargo install innkeeper
sh
inn .git git fetch upstream
This will fetch from upstream for all the .git repositories inside the current folder. Basically it replaces:
sh
find -iname .git -type d -execdir git fetch upstream \;
You can also provide a --root
argument or -r
which sets the current working
directory to a different folder.
sh
inn -r D:\Developer .git git fetch upstream