From e9dc4c1090abb01317847c417b75d3960f3da34d Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Fri, 3 Feb 2023 14:39:07 -0600 Subject: only install platform-appropriate configs based on uname --- config/all/git/config | 43 +++++++++++++++++++++++++++++++++++++++++++ config/all/git/ignore | 11 +++++++++++ 2 files changed, 54 insertions(+) create mode 100644 config/all/git/config create mode 100644 config/all/git/ignore (limited to 'config/all/git') diff --git a/config/all/git/config b/config/all/git/config new file mode 100644 index 0000000..0a3bed8 --- /dev/null +++ b/config/all/git/config @@ -0,0 +1,43 @@ +[user] + name = Matt Singleton + email = matt@xcolour.net + +[alias] + st = status + ci = commit + br = branch + co = checkout + df = diff + lg = log -p + +[core] + whitespace = trailing-space,space-before-tab,cr-at-eol + editor = vim + autocrlf = input + excludesfile = ~/.config/git/ignore + pager = less -+$LESS -RSX + +[push] + default = nothing + +[color] + ui = true + +[mergetool] + keepTemporaries = false + prompt = false + +[merge] + tool = meld + +[diff] + tool = meld + +[init] + defaultBranch = main + +[pull] + ff = only + +[include] + path = config-local diff --git a/config/all/git/ignore b/config/all/git/ignore new file mode 100644 index 0000000..57dd8e6 --- /dev/null +++ b/config/all/git/ignore @@ -0,0 +1,11 @@ +*.class +*.pyc +*.swo +*.swp +.svn +.swo +*#* +# +.#* +doc/tags +.DS_STORE -- cgit v1.2.3