tldr/pages/common/git-init.md

12 lines
200 B
Markdown
Raw Normal View History

2015-10-22 08:31:52 +01:00
# git init
2014-03-09 12:20:13 +00:00
> Initializes a new local Git repository.
2014-03-09 12:20:13 +00:00
- Initialize a new local repository:
2014-03-09 12:20:13 +00:00
`git init`
2016-01-21 12:08:45 +00:00
- Initialize a barebones repository, suitable for use as a remote over ssh:
2014-03-09 12:20:13 +00:00
2015-10-22 08:31:52 +01:00
`git init --bare`