The Git cookbook

Git, you either love it for its power or hate it for it's ui. While I'm a trained git apologist and love its power and flexibility, I've also done a lot of git user support at work and in the #git IRC channel. I understand the frustration of the jumble of jargon, inconsistency and arcana that is the git UI and will help you dive into it!

If you have questions, comments or suggestions about any of the articles, please leave a comment on the article or in the issue tracker on GitLab. Suggestions for new articles are also very welcome!


Simple deployments with git

Posted on Thu 05 November 2015 in Git on the server • Tagged with hooks, post-receive, deployLeave a comment

While git is not a deployment tool, many people (attempt to) use it as one. So here are some recipes for doing deployments with git hooks in a safe and sane way.

Continue reading

Serving git's smart http protocol and a web interface with Apache

Posted on Tue 03 November 2015 in Git on the server • Tagged with apache, server, gitweb, cgit, http, https, authenticationLeave a comment

From zero to fully working web server in 2 configuration files, including smart HTTP, ssl, authentication, and cgit or gitweb.

Continue reading

Using multiple post-receive hooks

Posted on Tue 03 November 2015 in Git on the server • Tagged with hooks, post-receiveLeave a comment

Workaround for a common pitfall for some git hooks: consuming all input.

Continue reading