Chapter 9 Beyond the Basics

Git is a rich toolkit. So far in this book we’ve covered how to use the day-to-day features of Git—the basics. That barely scratches the surface of Git.

Git currently ships with more than 140 different commands. Many you will probably never have to use. Commands such as git check-ref-format, which Git uses internally to determine whether a string is a valid branch or tag name, is of use only to those creating extensions to Git.

But there are some commands that you won’t use every day that are extremely useful when you do need them. This chapter is devoted to those topics, which include the following:

  • Compacting your repository history

  • Exporting your repository

  • Rebasing a branch’s history against its ...

Get Pragmatic Version Control Using Git now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.