mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 13:46:04 +00:00
Update cheatsheets
This commit is contained in:
18
git-setup
Normal file
18
git-setup
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user