I have two scripts that expand upon @icefox's git-map script:
git-auto and git-autopull
git-auto is for quickly adding, commiting (with a simple, short commit message) and pushing.
There are plans on adding the ability to customize the commit message per-call of the command. For now, if you want a different boilerplate message, you can get in the script and change it.
git-autopull is for those people (like me) who keeps all of their git repo parent directories on the same level on their computers. If you want to just run through all of the repo's and pull down the updates, git-autopull loops through all the git repo directories, pulling, fetch --alling, and submodule update --init --recursiveing.
To install the scripts - for now, I plan on having a real install script - all you have to do is run it from within the git cloned location. It'll auto-link to /usr/local/bin directory.
git clone https://github.com/jpartain89/git-autopull.git --recursive
cd git-autopull
./git-autopull
./git-autoMake sure the --recursive flag is listed, to include cloning the git-map repo.
Its primarily meant to be run from within a git repo directory, but you can combine other git command line flags along with autopull:
git -C ~/example/repo autopull will run autopull in the ~/example/repo directory level.