Created
September 25, 2014 17:12
-
-
Save ni-c/e469a3150f9728647ff2 to your computer and use it in GitHub Desktop.
git cheats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set global gitignore to ~/.gitignore | |
git config --global core.excludesfile '~/.gitignore' | |
# Git ignore mode chamges | |
git config --global core.filemode false | |
# Enable colors | |
git config --global color.ui true | |
# Set your user name and email address with the following commands: | |
git config --global user.name "John Doe" | |
git config --global user.email "your_email@example.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment