Boost Your Git DX

34 ratings

šŸš€ Updated April 4th 2024. See the update post.

šŸ¤‘ 10% discounted for today only!

This book covers the best command line Git tools, techniques, tips, tricks, and tactical tidbits Iā€™ve encountered from 11.5 years of using Git. The selection reflects my preferences for well-maintained tools that provide high value with little need for customization.

Note that this book is not an introduction to Git and assumes that youā€™re already using Git on a daily basis. It offers ways to improve your developer experience with Git that ultimately help you code faster.

Free samples

Some of the bookā€™s content is adapted from previous blog posts, including:

Contents

The book contains 18 chapters. Below is a brief summary of the contents. See the release post for a full table of contents and links to sample content.

  1. Introduction
    Opening notes, a description of the included examples, acknowledgements, and changelog.
  2. Global configuration
    Git's configuration files, basic options to configure, backing up configuration files in a repository.
  3. Aliases
    Shorten Git commands with both shell and Git aliases.
  4. Shell configuration
    Improve your shell experience with oh-my-zsh and Starship.
  5. Shell tools
    Three tools that integrate with Git: Less, delta, and ripgrep.
  6. Repository configuration
    Improvements for per-repository configuration: default branch naming and Git ignore files.
  7. Hooks and the pre-commit framework
    Extend Git with the pre-commit framework and related hooks.
  8. Command commonalities
    Options and data types common to all or many Git commands.
  9. Branches and worktree
    Manage branches better and work on multiple branches at once with worktrees.
  10. status and diff
    Make checking status easier and improve the diffs that Git generates.
  11. add and restore
    Learn how to add changes with precision and undo/un-add them with ā€œgit restoreā€.
  12. commit and reset
    Commit faster and carefully undo commits with ā€œgit resetā€.
  13. stash and apply
    Two commands for handling changes outside of the regular workflow.
  14. push and pull
    Make pushing and pulling branches a little bit smoother.
  15. merge and rebase
    Improve how merging and rebasing works.
  16. log and reflog
    Find details from the commit log with precision and undo destructive actions with the reflog.
  17. blame and bisect
    Track who changed what when with blame and use bisect to track down problem commits.
  18. Outroduction
    Honourable mentions that didnā€™t quite make it, and further reading.

FAQ

Who are you?

Hi, I'm Adam Johnson. I'm an author and solo consultant working with Django and Python.

Iā€™ve used Git since 2012 and have 1.3k repositories on my GitHub profile. I even managed to become a Git contributor whilst writing this book.

What's included?

A PDF watermarked with your email address, an ePub, an AZW3 file (Kindle), and a resources zip file containing all the code examples.

Will you do a printed version?

Unfortunately, I canā€™t afford to do print versions right now.

Do you offer any discounts?

Gumroadā€™s purchasing power parity feature will automatically offer you a discount based on your location.

Outside of that, I offer occasional seasonal discounts. Follow my blog, Mastodon, or Twitter to be notified of these.

Can I get an invoice?

Gumroad will send you a receipt with a "generate" button to turn it into an invoice so you can make your employer pay!

Can I purchase with an alternative method (e.g. direct bank transfer)?

Due to accounting limitations, I can only sell my product on Gumroad. If it doesn't work for you, please try emailing Gumroad support (support@gumroad.com) and CC'ing me.

Praise

ā€œThis book transformed my day-to-day operations. As a self-taught engineer, I have found myself starved for mentorship, and Boost Your Git DX has been my most influential mentor in 2023.ā€
ā€”Lance Goyke on his blog

ā€œšŸ¤ÆšŸ¤ÆšŸ¤Æ
That's my reaction after every section in ā€œBoost Your Git DXā€ by @AdamChainz, a goldmine of excellent tips about git.ā€
ā€”Rodrigo on Twitter

ā€œwhether you're new to git or an experienced veteran -- @AdamChainzā€™s new book "Boost Your Git DX" has something for everyone! (even I learned a cool new thing: git config --show-origin)ā€
ā€”Anthony Sottile on Twitter

ā€œI heartily recommend by @adamchainz. The configuration chapter alone was worth the price. And I now finally understand git bisect!ā€
ā€”Daniel Andrlik on Mastodon

ā€œBoth [Boost Your DX books] are amazing, they remind me of my school days when you would sit in the computer lab next to the wizards, and come away with new magical skills.ā€
ā€”John Beimler on Mastodon

ā€œI've been using git for years and can do all the basic stuff there. But the "Boost Your Git DX" shares many useful tips, configuration settings, and options I didn't know about. It finally pushed me to revisit my git workflows and apply some improvements.ā€
ā€”Sebastian Witowski on LinkedIn

ā€œ@AdamChainz book is an excellent, practical complement to ProGit. It focuses on how to do the things you will need to do, and related tools for improving your git qol.ā€
ā€”Dan Oā€™Leary on Twitter

ā€œ@AdamChainz book, Is a game-changer for anyone looking to level up their Git skills and streamline their development process. You're empowering me with your knowledge! šŸš€šŸ“šā€
ā€”Ngazetungue Muheue on Twitter

ā€œ"Boost Your Git DX" by @adamchainz is THE comprehensive guide to Git you should be reading. Every page is imbued with useful advice and productivity tips. Personally, I understood and started using worktrees more. Check it out!ā€
ā€”Julius Seporaitis on Twitter

ā€œAdam's written two books before (Boost Your Django DX; Speed Up Your Django Tests) ā€” both paid for themselves within the first hour of my purchase.
This one's a no-brainer, too.ā€
ā€”Justin Duke on Twitter

ā€œI picked up the early access Boost Your Git DX by @adamchainz and even within the first couple chapters Iā€™ve found some really useful tips!ā€
ā€”Daniel Andrlik on Mastodon

ā€œDiscovered the magic of ā€˜git stashā€™, after reading about it in @adamchainz book ā€œBoost your Git DXā€ today. Tucked away my code changes safely, only to unleash them again when ready. A small yet mighty command!ā€
ā€”J-O Eriksson on Mastodon

ā€œI'm learning a lot of neat Git tricks from Boost Your Git DX by @AdamChainz
If you use Git, check out Adam's book! šŸ”„šŸ”„šŸ”„ā€
ā€”Mike Driscoll on Twitter

ā€œI had the opportunity to preview a few chapters of Adam's book and was seriously impressed. I can almost guarantee you'll learn some tricks and ways to optimize your workflow. He went down the rabbit hole so you don't have to.ā€
ā€”Peter Baumgartner on Twitter

ā€œI'm really excited by @adamchainz' new book, Boost Your Git DX". I've been using git for over 14 years now and I can say that at least a third of the table of contents is new for me.ā€
ā€”Daniel Roy Greenfeld on Twitter

Buy this
696 sales

30-day money back guarantee

If the book is not what you expected, reply to the download email within 30 days, and I'll fully refund you, no questions asked (but feedback is welcome).

Last updated May 23, 2023

Watermarked PDF, ePub, AZW3 & resources zip file

Chapters
18
Pages
363
Copy product URL

Ratings

5.0
(34 ratings)
5 stars
97%
4 stars
3%
3 stars
0%
2 stars
0%
1 star
0%
$39

Boost Your Git DX

34 ratings
Buy this