|
|
|
|
|
by sznio
1040 days ago
|
|
Use the interactive rebase. It shows a list of commits which you can reorder, squash, remove or edit. Reordering is pretty powerful. If you made a mistake, commit the fix, then move it to the commit where you introduced the mistake, and squash. Removing broken commits makes `bisect` nicer to use when you're desperate enough to use it. Obviously don't do this on commits you've already published. |
|