In my recent svn to git adventures, I have tried to make a centralized git repository on numerous occasions and miserably failed. It seemed obvious to create a repository, clone it, do commits and push, but nooo. We need to create a centralized git repository, by declaring it as a “bare” repository when initializing it.
In the following tutorial I am going to create a centralized git repository, two working trees, and check that this actually works.
Two working threes: