tj.git-extras/man/git-setup.md
2026-03-23 23:21:26 -07:00

37 lines
698 B
Markdown

git-setup(1) -- Set up a git repository
=======================================
## SYNOPSIS
`git-setup` [-m <message>] [<directory>]
## DESCRIPTION
Set up a git repository if one doesn't exist, add all files and make an initial commit.
## OPTIONS
-m <message>
Use <message> as the initial commit message.
<directory>
The name of a new directory to setup. By default, the current working directory.
## EXAMPLES
$ git setup path/to/repository
## AUTHOR
Written by Aggelos Orfanakos &lt;<agorf@agorf.gr>&gt;
## REPORTING BUGS
&lt;<https://github.com/tj/git-extras/issues>&gt;
## SEE ALSO
&lt;<https://github.com/tj/git-extras>&gt;