From f311c01a1b2672ab2c724674de8022e83988545e Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Fri, 27 Dec 2024 14:37:58 +0100 Subject: reorganize --- git/.gitconfig | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 git/.gitconfig (limited to 'git/.gitconfig') diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..017cd90 --- /dev/null +++ b/git/.gitconfig @@ -0,0 +1,68 @@ +[user] +name = Simen A. W. Olsen +email = hello@simenandre.no +signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMCyUn5BfmAnd/6xi0X1mYF/+jPOmCS0bpNUePF55gCY + +[apply] +# Detect whitespace errors when applying a patch +whitespace = fix + +[core] +# Make `git rebase` safer on OS X +# More info: +trustctime = false +editor = nvim +excludesfile = ~/.gitignore_global + +[color] +# Use colors in Git commands that are capable of colored output when +# outputting to the terminal. (This is the default setting in Git ≥ 1.8.4.) +ui = auto + +[color "branch"] +current = yellow reverse +local = yellow +remote = green + +[color "diff"] +meta = yellow bold +frag = magenta bold # line info +old = red # deletions +new = green # additions + +[color "status"] +added = yellow +changed = green +untracked = cyan + +[diff] +# Detect copies as well as renames +renames = copies + +[help] +# Automatically correct and execute mistyped commands +autocorrect = 1 + +[merge] +# Include summaries of merged commits in newly created merge commit messages +log = true + +[push] +autoSetupRemote = true + +[gpg] +program = ssh +format = ssh + +[github] +user = simenandre + +[pull] +rebase = true + +[url "git@github.com:"] + insteadOf = https://github.com/ +[gpg "ssh"] + program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign +[commit] + gpgsign = true -- cgit v1.2.3