summaryrefslogtreecommitdiffstats
path: root/README.md
blob: 8da74d0d63740fc19ee2c7a182c4efc344f87a5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# gitb-init

A dumb script that sets up a bare remote git repository for pulling
using the dumb protocol.

## usage

    $ src/gitb-init.sh gitreponame.git [git_dir] [ssh_login]

The command creates a remote bare repository `gitreponame.git` under
`git_dir` directory on the remote server.

**defaults**

    git_dir="git"
    ssh_login="user@servername.tld"

`git_dir` is the directory under which the remote bare git repo is
created. Change this variable's value as you see fit.

`ssh_login` is set to a dummy value, you must set this.

## contact

**rsiddharth** <rsiddharth@ninthfloor.org>

## license

The script is under the [WTFPL version 2 license][3]. See LICENSE for more
details. This license is [compatible with GNU GPL][4].

[3]: http://www.wtfpl.net/txt/copying/
[4]: http://www.gnu.org/licenses/license-list.html#WTFPL