Last active
January 19, 2025 14:15
-
-
Save PurpleBooth/8110b6a8cc0f9aebafcfef1086bf8a54 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
#!/usr/bin/env bash | |
git config --global core.pager delta | |
git config --global interactive.diffFilter "delta --color-only" | |
git config --global delta.navigate true | |
git config --global merge.conflictstyle zdiff3 |
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
#!/usr/bin/env bash | |
git config --global rerere.enabled true | |
git config --global init.defaultBranch main | |
git config --global rebase.autoStash true | |
git config --global rebase.autoSquash true | |
git config --global pull.rebase true | |
git config --global commit.verbose true | |
git config --global diff.algorithm histogram | |
git config --global push.autoSetupRemote true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment