summaryrefslogtreecommitdiff
path: root/git-shell-commands/change-description
blob: 437833ce9d046a4af4411e3dbd3556b0bf9483da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# Allows users to change project description
# $ ssh git@host change-description repo "description"

set -E

repo=$1; shift
description="$@"

echo "${repo}.git/${description}" > description

exit $?