25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
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`