aboutsummaryrefslogtreecommitdiff
path: root/config/all/git
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2023-02-03 14:39:07 -0600
committerMatt Singleton <matt@xcolour.net>2023-02-03 14:39:07 -0600
commite9dc4c1090abb01317847c417b75d3960f3da34d (patch)
tree2fb84cf24675f1294f9f7a33ea949d514844c6f1 /config/all/git
parent969f76a8238e2d43a25740c8272bf635d436f0d3 (diff)
only install platform-appropriate configs based on uname
Diffstat (limited to 'config/all/git')
-rw-r--r--config/all/git/config43
-rw-r--r--config/all/git/ignore11
2 files changed, 54 insertions, 0 deletions
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