Index: trunk/tools/code-utils/subgits |
— | — | @@ -0,0 +1,16 @@ |
| 2 | +#!/bin/sh |
| 3 | +# This command allows you to perform the same action on several git repositories sharing a common root. |
| 4 | +# |
| 5 | +# For instance, after cloning you will want to do |
| 6 | +# subgits config user.email "email@address.com" |
| 7 | +# subgits config user.name "your name" |
| 8 | +# |
| 9 | +# For configuring git-review: |
| 10 | +# subgits config gitreview.username "shell-username" |
| 11 | +# subgits review -s |
| 12 | +# |
| 13 | +# For updating all the repositories: |
| 14 | +# subgits pull |
| 15 | + |
| 16 | +find -name .git -execdir git "$@" \; |
| 17 | + |
Property changes on: trunk/tools/code-utils/subgits |
___________________________________________________________________ |
Added: svn:executable |
1 | 18 | + * |