diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2025-06-26 12:52:25 -0600 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2025-06-26 12:52:25 -0600 |
| commit | e3c2f26ef1c3e369ce2678f55e14a4d059a98c31 (patch) | |
| tree | 13c34244672fca81b2036d503e0ab57dbf7ca3ec /home-manager | |
| parent | 925540aa68ec7dd5462c87eeaa3c07d7ac091d8a (diff) | |
git configuration
Diffstat (limited to 'home-manager')
| -rw-r--r-- | home-manager/home.nix | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/home-manager/home.nix b/home-manager/home.nix index a569419..cc62501 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -180,8 +180,43 @@ userEmail = "devin.finlinson@pm.me"; includes = [{path = "~/.gitconfig.local";}]; extraConfig = { - core = {editor = "hx";}; + core = { + editor = "hx"; + excludesfile = "~/.gitignore"; + }; + column = { ui = "auto"; }; + branch = { sort = "-committerdate"; }; + tag = { sort = "version:refname"; }; + init = { defaultBranch = "trunk"; }; + diff = { + algorithm = "histogram"; + colorMoved = "plain"; + mnemonicPrefix = "true"; + renames = "true"; + }; + push = { + default = "simple"; + autoSetupRemote = "true"; + folowTags = "true"; + }; + fetch = { + prune = true; + pruneTags = true; + all = true; + }; pull = {rebase = false;}; + merge = { conflictstyle = "zdiff3"; }; + help = { autocorret = "prompt"; }; + commit = { verbose = true; }; + rerere = { + enabled = true; + autoupdate = true; + }; + rebase = { + autoSquash = true; + autoStash = true; + updateRefs = true; + }; }; }; |
