Email the Author

You can use this page to email Jacek Drąg about GIT intermediate.

Please include an email address so the author can respond to your query

This message will be sent to Jacek Drąg

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

Find also a paperback edition available on Amazon.

Discover the inner beauty and elegance of Git! Learn to create decent, professional repositories!

Bearing the proper abstractions in mind, you know why and what should be done; It is easier then, to find the answer to how to do it.

“GIT intermediate” gives the reader a good sense of Git’s mechanics, how it really works. It is particularly useful when less obvious situations occur.

At first glance, Git looks like a tangle of strange commands with incomprehensible parameters. The documentation is hard to read, so the entry threshold seems high. This creates a natural temptation to scrape the bottom of the barrel: to learn just a few operations (performed from command line, graphical tool or IDE) typical of the team’s workflow.

As a result, the repository is cluttered with project versions of poor quality, many of which do not meet established standards. E.g.:

  • „Under construction” versions: The changes committed „before lunch”, before and after code review, etc. Ok, one can improve it a bit by using --squash option.
  • Many incoherent changes in one version: Changes that are hard to review/understand; hindering extracting/reverting parts of them.

Is really such a cluttered repository good enough for a professional team in 2023?

Should really „just merge the branch” approach be your way? Or should you rather care of individual commits?

“GIT intermediate” is short.

On 100 pages of loose A4 text, the book — often in an experimental way — introduces into the world of Git’s abstracts and gives practical knowledge, illustrated by examples.

There are a few main entities that need to be captured to have a good sense of Git’s mechanics. These are:

  • Repository as a commit graph.
  • Refs (of any kinds) as tools for graphs growing (both local and remote).
  • Immutability of the graph vs history rewriting (transplanting of the commits).
  • Cooperation between local and remote repository as sharing of the subgraphs.

The metaphors of all these entities fit on the front cover! Can you recognize them?

See a short YouTube session: Making the front cover.

They say why and what should be done. The author demystifies the often misunderstood things, explaining how things can be done:

  • commit
  • index/staging area
  • reset
  • rebase
  • fast-forward-merge
  • merge conflicts

The book can be read as “from zero to hero” guide. Nevertheless, after months/years of using Git, it is practical to take a break and return to the roots, from time to time.

The topics covered are illustrated with examples and contain links to the documentation. Advanced issues (e.g. refspec) and extensive issues (e.g. git log) are described synthetically, with an indication of interesting issues and references to the appropriate parts of the documentation.

The repetitions are intentional, they are intended to help the reader remember the proper abstractions.


About the Author

Jacek Drąg’s avatar Jacek Drąg

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Git-intermediate › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss