Changes between Version 16 and Version 17 of WorkingConventions/Git


Ignore:
Timestamp:
Oct 31, 2011 5:33:59 PM (2 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkingConventions/Git

    v16 v17  
    2020 
    2121 * Discuss anything you think might be controversial before pushing it. 
     22 
     23== Author == 
     24 
     25Please make sure you have setup git to use the correct name and email for your commits. Use the same name and email on all machines you may push from. 
     26 
     27{{{ 
     28$ git config --global user.name "Firstname Lastname"Sets the name of the user for all git instances on the system 
     29$ git config --global user.email "your_email@youremail.com" 
     30}}} 
     31 
     32This will set your name and email globally. To set it for just the GHC repo, remove the `--global` flag. Also, the environment variables `GIT_COMMITTER_NAME`, `GIT_COMMITTER_EMAIL`, `GIT_AUTHOR_NAME` and `GIT_AUTHOR_EMAIL` will override git-config settings if they are defined. 
    2233 
    2334== Commit messages ==