summaryrefslogtreecommitdiff
path: root/git-shell-commands/change-owner
blob: 4cf90c788d599f1af6eaf26d71bb9105b0b95736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# * change-owner
#   Define quién manda
#   ssh git@host change-owner repo "Hacklab"

set -e

repo=$1; shift

test -d "${repo}".git && \
git config -f "${repo}.git/config" "gitweb.owner" "${@}"

exit $?