Skip to content

Instantly share code, notes, and snippets.

@PurpleBooth
Last active January 19, 2025 14:15
Show Gist options
  • Save PurpleBooth/8110b6a8cc0f9aebafcfef1086bf8a54 to your computer and use it in GitHub Desktop.
Save PurpleBooth/8110b6a8cc0f9aebafcfef1086bf8a54 to your computer and use it in GitHub Desktop.
Git Setup
#!/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
#!/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