EasyEnv
Engineering/Courses/Catalog/Git/Interactive Rebase and Squashing
Git
BeginnerLesson 8 of 1330 min · hands-on

Interactive Rebase and Squashing

Part of the Git course

Real work does not happen in one clean commit. You commit, then you commit again five minutes later because you spotted a typo, then a third time because you forgot to save a file before the first commit. None of that is a problem while you are heads-down working.

Picture handing someone a stack of index cards, one per commit, in the order you made them, and asking them to retype your notes into a cleaner set of cards: some cards get copied over exactly as they are, some get merged into the card before them, some get relabeled with a better title. ...

Want to learn Git Interactive Rebase and Squashing in a real environment?

Click below, get a fresh Linux box with Git ready to go, and work through Interactive Rebase and Squashing hands-on with an AI tutor that knows your code.

Start this lessonInteractive Rebase and Squashing

What you'll learn

  • Git rebase -i
  • Pick
  • Squash
  • Fixup
  • Reword
  • Autosquash

Read this lesson in your language

All lessons in this course

13 lessons
  1. 1Init and Your First Commit25 min
  2. 2Status, Diff, and Log25 min
  3. 3Branches and Merging30 min
  4. 4Resolving Merge Conflicts30 min
  5. 5Remotes: Push, Pull, Fetch30 min
  6. 6Stash and Cherry-pick25 min
  7. 7Rebasing30 min
  8. 8Interactive Rebase and Squashing30 min
  9. 9Tags and Releases20 min
  10. 10Branching Workflows20 min
  11. 11Recovering Lost Work25 min
  12. 12Hooks25 min
  13. 13Capstone: A Full Pull Request Flow40 min

Explore other courses

Interactive Rebase and Squashing - Git (English) | Engineering Courses