Skip to content

Instantly share code, notes, and snippets.

@devinrhode2
Created February 12, 2020 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devinrhode2/1dea188a754029c363b85ee2b13acd1c to your computer and use it in GitHub Desktop.
Save devinrhode2/1dea188a754029c363b85ee2b13acd1c to your computer and use it in GitHub Desktop.
How I rebase

First, run a vanilla git rebase. Then in vs code... "Undo" all commits you may want to modify. (in git sidebar, there's a "..." button with a ton of git related actions) From here, you would use vscode git diff editor/viewer, and highlight chunks of code to stage. From there it's personal opinion as to exactly how to group the code changes into one or a series of commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment