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!


The meaning of refs and refspecs

Posted on Sat 07 November 2015 in Background information • Tagged with refs, branch, tag, remote, github, pull-request, notes, gerrit, bisect, merge, filter-branch, replace, stashLeave a comment

Refs are one of git's core concepts. Learn here about all the different types of refs (many more than just tags and branches) and how they differ from each other.

Continue reading

Removing unwanted data from git repositories

Posted on Thu 05 November 2015 in Commit grooming • Tagged with filter-branch, bfg, cleanup, rewriteLeave a comment

Ever committed something very large or sensitive? Find out how you can remove it from your repository.

Continue reading