Skip to content
Search

Git:CreateRepository

lastmod 2025-02-15created 2014-02-163 edits

How to create a project with git

Example

Running the following creates a Git repository in a hidden directory named .git.

git init myproject.git

If you want to add a BARE repository, which has no Working Directory and is meant for a server, add the --bare option.

See also

author Zer0 sitemap