Setting up my own git server is something I've been meaning to do for several years, but never got around to it, thinking that it was a lot more complicated than this.
I could not believe how simple and easy it is!
Thank you for posting.
If you don't plan to let other people contribute to your repositories, git might be overkill.
If Git would be overkill here, what would you propose as an alternative? I use Git on every project I work on, whether I'm the only one working on it or not, and it's saved my bacon more times than I can count!
Have you tried Darcs? It is perfect for small projects - and it won't cause problems when you try to merge multiple incompatible features.
I have! I used to use it primarily a long time ago, but then I switched to using Git for my personal stuff when my job converted their repositories to Git - easier to keep one tool in my head! I still miss Darcs' UI - best VCS UI I've ever used.
You should try again! :-)
Not everything is a nail just because you have a hammer.
Or you could just install gitolite.
Are there any alternatives to setting permissions to 777? I try to avoid this as a matter of principle.
Yes but you must generate ssh key for your user. You can read detailed information on git book.
Why not just use services like GitHub or Bitbucket?
Some people or companies wants to use their own git server. Some of them doesn't trust to GitHub, Bitbucket, Gitlab etc... I worked at some companies that uses their own git server. They customized everything for their purpose. I don't need to use my own git server but I learned when I work with these companies and I wanted to share my knowledge.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.