-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
31 lines (28 loc) · 848 Bytes
/
gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[user]
email = [email protected]
name = Julen Pardo
[alias]
c = commit --verbose
cm = commit -m
l = log
b = branch
a = add
ap = add -p
co = checkout
ps = push -u origin
pl = pull
d = diff
r = reset
rh = reset --hard
d = diff
s = status
ss = status --short
sv = status --verbose
graph = log --graph --oneline --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --date=short
# Inspired by http://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/
# with little modifications
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat --date=short
[core]
editor = vim
excludesfile = ~/.gitignore