1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/common/git-setup.md
2021-06-01 16:19:54 +01:00

13 lines
394 B
Markdown

# git setup
> Create a Git repository in a specific 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}}`