From 5b9cbbba99ffec42f9ba5c437c891289c5818c62 Mon Sep 17 00:00:00 2001 From: sudacode Date: Tue, 3 Feb 2026 03:09:03 -0800 Subject: [PATCH] add config --- .gitconfig | 39 --------------------------------------- .gitconfig##os.Darwin | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 39 deletions(-) delete mode 100644 .gitconfig create mode 100644 .gitconfig##os.Darwin diff --git a/.gitconfig b/.gitconfig deleted file mode 100644 index 8e211af..0000000 --- a/.gitconfig +++ /dev/null @@ -1,39 +0,0 @@ - ; [includeIf "gitdir:~/.local/share/yadm/repo.git"] - ; path = .gitconfig.submodules -[init] - defaultBranch = main -[push] - default = simple - autoSetupRemote = true -[diff] - algorithm = histogram -[merge] - conflictstyle = zdiff3 -[pull] - rebase = true -[rebase] - autostash = true - autosquash = true -[fetch] - prune = true -[branch] - autosetuprebase = always -[core] - fsmonitor = true - untrackedCache = true - editor = nvim - pager = delta -[alias] - st = status - co = checkout - br = branch - lg = log --oneline --graph --decorate --all - fixup = commit --fixup - undo = reset --soft HEAD~1 -[interactive] - diffFilter = delta --color-only -[delta] - navigate = true # use n and N to move between diff sections - dark = true # or light = true, or omit for auto-detection -[user] - name = suda@sudacode.com diff --git a/.gitconfig##os.Darwin b/.gitconfig##os.Darwin new file mode 100644 index 0000000..e6dc398 --- /dev/null +++ b/.gitconfig##os.Darwin @@ -0,0 +1,22 @@ +[user] + name = sudacode + email = suda@sudacode.com +[init] + defaultBranch = main +[push] + default = simple + autoSetupRemote = true +[pull] + rebase = true +[rebase] + autoStash = true +[fetch] + prune = true +[diff] + algorithm = histogram +[merge] + conflictstyle = zdiff3 +[color] + ui = auto +[core] + pager = less -FRX