Skip to content

Instantly share code, notes, and snippets.

View jkiss1973's full-sized avatar

John Kiss jkiss1973

  • Calgary, Alberta
View GitHub Profile
@jkiss1973
jkiss1973 / supergit
Created February 16, 2014 02:48 — forked from spiderr/supergit
#!/bin/bash
# Shell Script for super-respositores that executes git on all sub-repositories
# Homepage at http://www.bitweaver.org/wiki/supergit
# Licensed under the GPL
# Authors: github.com/spiderr
function usage {
appName=`basename $0`
echo "Welcome to $appName. It acts on all directories in your project as if they were sub-respositories. For most commands, you simply type what you would normally for git, however you simply type $appName with desired parameters in the super-repository root of your project. For example:"
echo "-- To clone, type '$appName git@github.com:bitweaver/bitweaver.git -b DEV testbw' which will clone, then intiliaze + update submodules and checkout the master branch for each submodule"