Reputation: 42060
I read it in this interview of Linus.
Eventually you’ll discover the Easter egg in Git: all meaningful operations can be expressed in terms of the rebase command. Once you figure that out it all makes sense.
It does not look like just a joke. Now I wonder how all operations can be expressed with rebase.
Upvotes: 3
Views: 786
Reputation: 44254
Per the quora question about this exact quote, the post is satire.
Coincidentally, expressing git operations with plumbing commands is actually quite easy, and pretty interesting. Check out Chapter 10 in the git-scm book for some fun details. You'll learn a lot along the way.
Finally, you might be surprised to learn that git rebase
is actually a set of sophisticated shell scripts. Read their source here, here, here, and here. Following them through their operations is an excellent demonstration of git's core ethos: applying textual diffs in a arbitrary order. It's a great way to learn the more advanced concepts of commit reordering.
Upvotes: 8