git-config: add example for editing in default editor (#4176)

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
client-spec/clarity
Matt Watson 2020-07-17 18:40:48 +01:00 committed by GitHub
parent fc69d1297d
commit 01d22cdbc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -27,3 +27,11 @@
- Revert a global configuration entry to its default value: - Revert a global configuration entry to its default value:
`git config --global --unset alias.unstage` `git config --global --unset alias.unstage`
- Edit the git configuration for the current repository in the default editor:
`git config --edit`
- Edit the global git configuration in the default editor:
`git config --global --edit`