Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When to use a bare Git repository?

Tags:

git

git-bare

What are some use cases for a bare Git repository?

When should we prefer to use a bare repository and what benefits it gives us?

If I need a repository for sharing with a team and pulling changes from production server should I use a bare Git repository?

like image 768
Sonique Avatar asked Jun 12 '14 17:06

Sonique


1 Answers

My main use case for a bare Git repository is for a repository I can push my local changes into. It's usually (though not always) on a remote server.

like image 74
Michael Avatar answered Sep 20 '22 08:09

Michael