summaryrefslogtreecommitdiff
path: root/git-shell-commands/change-description
blob: 730777ccecfe74633303a3cf221bef1f6cafd90c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# * change-description
#   Cambia la descripcion del projecto, necesita archivo description en el proyecto
#   ssh git@host change-description repo "description"

set -e

repo=$1; shift

test -d ${repo}.git && echo "${@}" > ${repo}.git/description

exit $?