Using git init --bare for a slim repository look
Until now, I’ve mainly worked alone with my git repositories. Sometime pushing to my github-account, but always using the service as a kind of backup solution. Until now. At work, we’re setting up our new environment with git and I’m lucky enough to learn it while doing it.
This setting will differ quite a lot from what I’m used to:
Let’s get to the good stuff:
If you get any errors whilst doing this, google it or just try to parse it (for us, it mostly came down to chown- and chmod-ing the -R /home/git/repositories/ folders, so using sudo helps a lot).