Changes between Version 15 and Version 16 of CommitMessages
- Timestamp:
- Nov 7, 2016, 11:53:37 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CommitMessages
v15 v16 73 73 74 74 It is best to modify your shell startup files to set the `VISUAL` or `EDITOR` environment variables. Git requires no configuration to use them, and they can be used by other programs too. 75 {{{ 76 #!sh 77 # Bourne shell (sh) and relatives 78 export VISUAL 79 VISUAL=nano 80 }}} 81 {{{ 82 #!csh 83 # C shell (csh) and relatives 84 setenv VISUAL nano 85 }}} 75 86 76 87 If for some reason you want to override `VISUAL`/`EDITOR` and use a different editor with Git, you can specify it in `$HOME/.gitconfig`: 77 88 {{{ 89 #!sh 78 90 $ git config --global core.editor ed 79 91 }}}