NAME

bif-init - create a new bif repository

VERSION

0.1.0_27 (2014-09-10)

SYNOPSIS

bif init [ITEM] [OPTIONS...]

DESCRIPTION

The bif-init command creates a new local repository in .bif/ after creating (if necessary) the system-wide user repository. Attempting to initialise an existing repository is considered an error.

bif-init does all of its work through other bif commands. They are wrapped by this command in order to simplify the most common initialization scenario, which on the command-line would look something like this:

#!sh
if [ ! -d $USER_REPO ]; then
    bif init repo $USER_REPO
    bif new identity --user-repo --self
fi

bif init repo .bif/
bif show identity 1 --user-repo
bif pull identity $SELF@$USER_REPO --self

See the FILES section below for the location of $USER_REPO.

ARGUMENTS & OPTIONS

ITEM

The type of item to initialize. See the following for details:

bif-init-repo

The global --user-repo option is ignored by bif-init.

FILES

$HOME/.bifu/

User repository location when not running under a Free Desktop environment.

$XDG_DATA_HOME/.bifu/

User repository location when running under a Free Desktop environment.

SEE ALSO

bif(1)

AUTHOR

Mark Lawrence <nomad@null.net>

COPYRIGHT AND LICENSE

Copyright 2013-2014 Mark Lawrence <nomad@null.net>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.