summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig37
1 files changed, 37 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 0000000..3b57893
--- /dev/null
+++ b/.gitconfig
@@ -0,0 +1,37 @@
+[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
+ bla = status
+ br = branch
+ com = checkout master
+ co = checkout
+ lg = ! git --no-pager log --oneline --graph -n 18 --decorate
+ pure = pull --rebase