From decd709def67526c270e37d888693d5ef6dca990 Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Sat, 21 Nov 2020 14:01:35 +0100 Subject: a bunch of additions --- .gitconfig | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .gitconfig (limited to '.gitconfig') diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..f777d19 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,49 @@ +[apply] + # Detect whitespace errors when applying a patch + whitespace = fix +[core] + # Make `git rebase` safer on OS X + # More info: + trustctime = false + editor = emacs +[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 +[commit] + gpgsign = true +[pull] + rebase = true +[gpg] + program = gpg +[user] + name = Simen A. W. Olsen + email = so@bjerk.io +[github] + user = cobraz -- cgit v1.2.3