aboutsummaryrefslogtreecommitdiffstats
path: root/git/.gitconfig
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2024-12-27 14:37:58 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2024-12-27 14:38:11 +0100
commitf311c01a1b2672ab2c724674de8022e83988545e (patch)
tree6ba37deb89746ea70ea022c15b124e975e33b953 /git/.gitconfig
parent54abce564fa2ce215df74066102f68ed8ba0164a (diff)
downloaddotfiles-f311c01a1b2672ab2c724674de8022e83988545e.tar.gz
dotfiles-f311c01a1b2672ab2c724674de8022e83988545e.zip
reorganize
Diffstat (limited to 'git/.gitconfig')
-rw-r--r--git/.gitconfig68
1 files changed, 68 insertions, 0 deletions
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: <http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/>
+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