Changes between Version 66 and Version 67 of WorkingWithGit


Ignore:
Timestamp:
Nov 1, 2016, 1:59:19 AM (7 years ago)
Author:
dstrubbe (David Strubbe)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkingWithGit

    v66 v67  
    7171
    7272=== Commit messages === #commitmessages
     73To set which text editor is used by git for writing commit messages, you can do either of:
     74 * Set {{{core.editor}}} in your Git config: {{{git config --global core.editor "emacs"}}}
     75 * Set the {{{GIT_EDITOR}}} environment variable: {{{export GIT_EDITOR=emacs}}}
     76
    7377There are a number of conventions to writing Git commit messages. For a detailed explanation, see http://chris.beams.io/posts/git-commit/. As a tl;dr, here are seven short rules:
    7478