Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

16 rader
612 B

  1. ## Visual Interactive Rebase
  2. <p align="center">
  3. <img src="../../images/docs/rebase.gif" alt="Interactive rebase editor"/>
  4. </p>
  5. Simply drag & drop to reorder commits and select which ones you want to edit, squash, or drop.
  6. To use this directly from your terminal, e.g. when running `git rebase -i`,
  7. - set VS Code as your default Git editor
  8. - `git config --global core.editor "code --wait"`
  9. - or, to only affect rebase, set VS Code as your Git rebase editor
  10. - `git config --global sequence.editor "code --wait"`
  11. > To use the Insiders edition of VS Code, replace `code` in the above with `code-insiders`