The empty commit is designed to track content and changes to that content over time. The command centers around working against an commit 1, and by definition the first commit of a branch has no upstream. In later versions of the option has been added to remedy this, but I still like to start any new line of history with an empty commit.
Table of contents
ContentsThe empty commit ∅Pushing locally 💨Commit ranking 🥇Cat file 🐈Orphan commits 🤷Filter branch 🌿Octopus merge 🐙Rounding offFootnotes1 Comment
Sort: