aboutsummaryrefslogtreecommitdiff
path: root/config/all/git
diff options
context:
space:
mode:
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