diff options
-rwxr-xr-x | git-shell-commands/change-owner | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/git-shell-commands/change-owner b/git-shell-commands/change-owner new file mode 100755 index 0000000..41bf22b --- /dev/null +++ b/git-shell-commands/change-owner @@ -0,0 +1,12 @@ +#!/bin/sh +# * change-owner +# Define quiƩn manda +# ssh git@host change-owner repo "Hacklab" + +set -e + +repo=$1; shift + +git config -f "${repo}/config" "gitweb.owner" "${@}" + +exit $? |