Stage Manager is a tiny wrapper around the git-new-workdir
script and it allows easy management of newly spawned Git working directories. If you're interested in its practical uses, check out Trikoder's blog post about dynamic testing environments.
- Download the
stage-manager
shell script and make it executable. - Place the git-new-workdir shell script in the same directory where you downloaded
stage-manager
. - Do the safety dance.
There are two variables that you should change:
- REPO_LOC - Location of the main repository from which
stage-manager
will create new Git working directories. - SPAWN_DIR - Name of the folder where the spawned Git working directories will reside.
If you want to run any commands during the creation of the Git working directories, you can place them in a file named .bootstrap
.
See the LICENSE file for license rights and limitations (MIT).