Skip to content
Snippets Groups Projects
Forked from R3 / school / courses
522 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
rebase-iPresentation2.md 305 B

Practical: Git Interactive Rebasing

  • Perform an interactive rebase with the two last commits:
$ git rebase -i HEAD~2
  • reword the first commit's message to:
    These are the two squashed commits
  • combine the second and first commit into one,
    omitting the second's commit message.