git-push-to-gitlab: Don't create or push `synced/master`
[sunny256-utils.git] / bell
blob400f76b5aaeeaf974c840ab6adaeddd91aa5e510
1 #!/usr/bin/env bash
3 #=======================================================================
4 # bell
5 # File ID: 001cfd58-f87c-11e4-a40d-f5521b4ff37a
7 # Create local remote. Used when cleaning up in old repos.
9 # Author: Øyvind A. Holm <sunny@sunbase.org>
10 # License: GNU General Public License version 2 or later.
11 #=======================================================================
13 progname=bell
15 test -z "$1" && { echo $progname: Repo not specified >&2; exit 1; }
17 test -d "/bellmann/home/sunny/repos/Git/$1.git" || {
18 echo $progname: $1: Repo doesn\'t exist >&2
19 exit 1
21 git remote add bellmann "/bellmann/home/sunny/repos/Git/$1.git"