Skip to content

Instantly share code, notes, and snippets.

View sio's full-sized avatar

Vitaly Potyarkin sio

View GitHub Profile
@sio
sio / git-projects.sh
Created September 7, 2017 17:40
Manage multiple Git projects at once (check status, view logs...)
#!/bin/bash
set -e
#
# Execute the same git command in all project directories.
#
# Extra command line arguments are passed to git.
# If no arguments are specified, `git status` is assumed.
#
# File `projects.txt` has to contain paths to all project