summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2014-02-07 16:38:51 +0200
committerYuval Adam <yuv.adm@gmail.com>2014-02-07 16:38:51 +0200
commitb1d790a81d3d367a44bc814c3733ccca50aaceeb (patch)
treea8ec89c0af37553785e0555fdec4a34a09e842a6
parent3d684e70f958bfbed21ee1aadf3ce24bca2c3ef5 (diff)
Git config
-rw-r--r--.gitconfig54
1 files changed, 54 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 0000000..160b1eb
--- /dev/null
+++ b/.gitconfig
@@ -0,0 +1,54 @@
+[user]
+ name = Yuval Adam
+ email = yuv.adm@gmail.com
+
+[color]
+ diff = auto
+ status = auto
+ branch = auto
+ interactive = auto
+ ui = true
+ pager = true
+
+[color "branch"]
+ current = red
+ local = yellow
+ remote = green
+
+[color "diff"]
+ meta = yellow
+ frag = magenta
+ old = red
+ new = green
+
+[color "status"]
+ added = yellow
+ changed = green
+ untracked = cyan
+
+[alias]
+ st = status
+ cam = commit -a -m
+ cm = commit -m
+ br = branch
+ com = checkout master
+ co = checkout
+ cob = checkout -b
+ lg = ! git --no-pager log --oneline --graph -n 18 --decorate
+ pure = pull --rebase
+ d = diff
+ dc = diff --cached
+ cfd = clean -fd
+ assun = update-index --assume-unchanged
+ noassun = update-index --no-assume-unchanged
+ rh = reset HEAD
+ cmend = commit --amend -C HEAD
+ camend = commit --amend -a -C HEAD
+ ca = commit -a
+ brt = branch --track
+
+[core]
+ excludesfile = ~/.gitignore
+ editor = vim
+[push]
+ default = matching