Files
Advanced-Git/contents/git-init-bare.md
2025-07-09 00:56:06 +00:00

461 B

git init --bare

Category

Repository Management

Initialize a bare repository, typically used for remote repositories.

Command

git init --bare my-repo.git

Examples

  • Create a bare repository for collaboration.
git init --bare my-repo.git

Steps

  1. Run git init --bare my-repo.git to create a bare repository.

Tags

init, bare, repository

Author

mike-rambil

Last Updated

2024-06-10