tldr/pages/common/git-init.md

12 lines
161 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`
- Initialize a barebones repository:
2014-03-09 12:20:13 +00:00
2015-10-22 08:31:52 +01:00
`git init --bare`