Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Git should ask you to enter a commit message. Now you're ready to Share Your Changes

Sharing Your Changes

Anchor
InteractiveRebase
InteractiveRebase
Squash feature commits into one

Git allows you to rewrite your history and squash several commits into a single commit. While Git encourages (and often requires) many commits for a single feature, all these commits make the upstream repository's history confusing. To squash commits you do an interactive rebase:

...