Browse Source

Updates rebase docs

main
Eric Amodio 3 years ago
parent
commit
d334ab9d42
1 changed files with 7 additions and 13 deletions
  1. +7
    -13
      README.md

+ 7
- 13
README.md View File

@ -544,20 +544,14 @@ The _Search & Compare_ view lists pinnable (saved) results for searching commit
- Adds a user-friendly interactive rebase editor to more easily configure an interactive rebase session
- Quickly re-order, edit, squash, and drop commits
- Includes drag & drop support!
- To use this feature:
- set VS Code as your default git editor
- To use this directly from your terminal, e.g. when running `git rebase -i`,
- set VS Code as your default Git editor
- `git config --global core.editor "code --wait"`
- open your global git config
- `git config --global -e`
- set VS Code as your `difftool`
- add or replace these entries:
```
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
```
- to use VS Code Insider's, replace `code` & `vscode` in the above with `code-insiders`
- or, to only affect rebase, set VS Code as your Git rebase editor
- `git config --global sequence.editor "code --wait"`
> To use the Insiders edition of VS Code, replace `code` in the above with `code-insiders`
## Terminal Links [#](#terminal-links- 'Terminal Links')

Loading…
Cancel
Save