Git
Chapters ▾ 2nd Edition

A3.12 Appendix C: Git Commands - Plumbing Commands

Plumbing Commands

There were also quite a number of lower level plumbing commands that we encountered in the book.

The first one we encounter is ls-remote in Pull Request Refs which we use to look at the raw references on the server.

We use ls-files in Manual File Re-merging, Rerere and The Index to take a more raw look at what your staging area looks like.

We also mention rev-parse in Branch References to take just about any string and turn it into an object SHA-1.

However, most of the low level plumbing commands we cover are in Git Internals, which is more or less what the chapter is focused on. We tried to avoid use of them throughout most of the rest of the book.