summaryrefslogtreecommitdiff
path: root/git-descremote
blob: e7c0a78a98ec2c26b954b1cb52ee4fe421de6e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# Copyright (C) 2024 dwlr <dweller@cabin.digital>
#
# BSD 3-Clause License (BSD-3-Clause)
# See LICENSE for details

set -e


if [ $# -lt 3 ]; then
    echo "Usage: $0 <server> <repo name> <description>"
    exit 1;
fi

serv=$1
repo=$2
shift 2

ssh "$serv" setdesc "$repo" "$@"