mirror of https://github.com/CrimsonTome/tldr.git
14 lines
385 B
Markdown
14 lines
385 B
Markdown
# git setup
|
|
|
|
> Create a Git repository in a directory and commit all files.
|
|
> Part of `git-extras`.
|
|
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-setup>.
|
|
|
|
- Create a Git repository in the current directory and commit all files:
|
|
|
|
`git setup`
|
|
|
|
- Create a Git repository in a specific directory and commit all files:
|
|
|
|
`git setup {{path/to/directory}}`
|