Created
April 28, 2021 04:33
-
-
Save todd-dsm/861c14f144ead6afc31900d1610dbf16 to your computer and use it in GitHub Desktop.
commands to configure the git client
This file contains hidden or 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
# Enter these commands into the shell | |
# Minimally, you'll give a name and email address to begin: | |
git config --global user.name "fName lName" | |
git config --global user.email "[email protected]" | |
git config --global core.editor vim | |
git config --global color.ui true | |
git config --global push.default matching | |
# Dump logs to stdOut and add an alias to see them in reverse: | |
git config --global core.pager cat | |
git config --global core.excludesfile ~/.gitignore | |
git config --global alias.rlog 'log --reverse' | |
# Quickly display the configuration | |
git config --list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment