Created
March 3, 2022 11:08
-
-
Save apaatsio/c4a90dd09f8b2171c95fb59a0dc53408 to your computer and use it in GitHub Desktop.
Useful defaults for global git config
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
#!/bin/sh | |
# git config --global user.name "Firstname Lastname" | |
# git config --global user.email "[email protected]" | |
git config --global user.useconfigonly true | |
git config --global pull.ff only | |
git config --global push.default simple | |
git config --global rerere.enabled true | |
git config --global rerere.autoupdate true | |
git config --global diff.algorithm histogram | |
git config --global merge.conflictstyle zdiff3 | |
git config --global core.editor vim | |
git config --global help.autocorrect 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment