Answer Posted / Prakash Diwakar
To squash multiple commits into one, use the `git rebase -i` command with the `squash` instruction. To combine a commit with its parent using the 'fixup' strategy instead of creating a new commit, use the `git rebase -i --autosquash`. You can then edit and modify the resulting interactive rebase script.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers