Last active
November 29, 2019 18:35
-
-
Save rkeithhill/5ca427397726770acbce53d3dd599197 to your computer and use it in GitHub Desktop.
Config file for Git
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
# More gitconfig goodness here - https://gist.github.com/tdd/470582 | |
git config --global user.name "Keith Hill" | |
git config --global user.email <email here> | |
git config --global core.editor '\"C:\Program Files (x86)\Microsoft VS Code\bin\code.cmd\" --new-window --wait' | |
git config --global core.autocrlf true | |
git config --global pull.ff only | |
git config --global pull.rebase true | |
git config --global rebase.autoStash true | |
git config --global diff.tool vscode | |
git config --global difftool.vscode.cmd '\"C:\Program Files (x86)\Microsoft VS Code\bin\code.cmd\" --new-window --diff \"$LOCAL\" \"$REMOTE\"' | |
git config --global difftool.prompt false | |
git config --global merge.tool vscode | |
git config --global mergetool.vscode.cmd '\"C:\Program Files (x86)\Microsoft VS Code\bin\code.cmd\" --new-window --wait --diff \"$LOCAL\" \"$REMOTE\"' | |
git config --global status.submoduleSummary true | |
git config --global diff.submodule log | |
git config --global -l | |
git config -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment