Sonique
Sonique

Reputation: 7080

When to use a bare Git repository?

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?

Upvotes: 8

Views: 492

Answers (1)

Michael
Michael

Reputation: 2261

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.

Upvotes: 2

Related Questions