Take the 2-minute tour ×  So this is how I set up my project:
git init --bare  Later I learned that if you want to work on a
project with multiple users this is how I should have done it:
git init --bare --shared  Now I tried to work like that and
luckily we are in the beginning so I could set up git again. I
still wonder though when you're in the middle of a project you
can't do that. Is there a way that i can change a bare repo to a
shared one?  share|improve this question add comment  4 Answers
up vote 17 down vote accepted  Since the --shared option just
sets the permissions on everything in the repository to group-
writable you could do this manually later:  $ chmod -R g+w
the/repo/path  Plus, add  sharedrepository = 1  under the [core]
section in .git/config. Shared repos also have the following
receive option defined by default (which you may or may not
want):      denyNonFastforwards = true share|improve this answer
Aha ok! Good to know, wish I had asked this before. Thanks! – 
bottleboot Jan 16 '12