Created
January 2, 2022 05:38
-
-
Save raffecat/28581b406c7160d5e484f9b6ed1ac3c2 to your computer and use it in GitHub Desktop.
Git Setup
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
git config --global user.name "My Name" | |
git config --global user.email "[email protected]" | |
git config --global core.autocrlf false | |
git config --global core.filemode false | |
git config --global branch.autosetuprebase always | |
git config --global pull.rebase true | |
git config --global fetch.prune true # local inaccessible objects | |
git config --global diff.colorMoved zebra # show "moved" lines | |
git config --global push.default simple # only push current branch | |
git config --add remote.origin.fetch '+refs/tags/*:refs/tags/*' | |
git config diff.ignoreSubmodules all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment