Confirmed users
1,345
edits
Nnethercote (talk | contribs) |
|||
| Line 178: | Line 178: | ||
$ git config --global user.name "John Doe" | $ git config --global user.name "John Doe" | ||
$ git config --global user.email "johndoe@mozilla.com" | $ git config --global user.email "johndoe@mozilla.com" | ||
# Enable color output for all commands | # Enable color output for all commands | ||
$ git config --global color.branch auto | $ git config --global color.branch auto | ||
| Line 186: | Line 186: | ||
$ git config --global color.status auto | $ git config --global color.status auto | ||
$ git config --global color.ui auto | $ git config --global color.ui auto | ||
# Highlight whitespace | # Highlight whitespace | ||
$ git config --global core.whitespace "trailing-space,space-before-tab,tab-in-indent" | $ git config --global core.whitespace "trailing-space,space-before-tab,tab-in-indent" | ||
# Define your editor for commits, other tools | # Define your editor for commits, other tools | ||
$ git config --global core.editor vim | $ git config --global core.editor vim | ||