1. Learn
  2. /
  3. Courses
  4. /
  5. Advanced Git

Connected

Exercise

Squash merge

You've been working on a feature branch called data-cleanup with multiple commits. You want to merge these changes into the main branch as a single, clean commit.

Instructions 1/2

undefined XP
  • 1
    • Perform a squash merge of the data-cleanup branch into the main branch, assuming you're already on the main branch.
  • 2
    • Make a commit with the log message "Integrate data-cleanup feature".