git-setup

Create a Git repository in a specific directory and commit all files.

TLDR

Create a Git repository in the current directory and commit all files

$ git setup
copy

Create a Git repository in a specific directory and commit all files

$ git setup [path/to/directory]
copy

SYNOPSIS

git-setup [<directory>]

DESCRIPTION

Set up a git repository if one doesn't exist, add all files and make an initial commit.

OPTIONS

<directory>

The name of a new directory to setup. By default, the current working directory.

EXAMPLES

$ git setup path/to/repository

REPORTING BUGS

<https://github.com/tj/git-extras/issues>

SEE ALSO

<https://github.com/tj/git-extras>

AUTHOR

Written by Aggelos Orfanakos <agorf@agorf.gr>

Copied to clipboard
coinbase