forked from pitr/config_files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
52 lines (52 loc) · 1.18 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[push]
default = current
[color]
diff = auto
status = auto
branch = auto
ui = 1
[core]
excludesfile = ~/.gitignore
editor = subl -w
autocrlf = input
[format]
pretty = %Cblue%h%Creset %Cgreen[%cr]%Creset (%an) %s
[alias]
b = branch -a -v
c = commit -m
a = add
co = checkout
d = diff --word-diff
dc = diff --cached --word-diff
pl = pull --rebase
ps = push
plre = pull --rebase
s = status -sb
st = status -sb
t = tag
out = log origin..HEAD
tip = log -n1
lg = log -p
r = remote -v
rc = rebase --continue
ra = rebase --abort
ri = rebase -i
me = log --date=local --pretty=short [email protected] --stat
qpl = log --pretty=\"%Cblue%h%Creset %Cgreen[%cr]%Creset %s\" origin/production..origin/master
g = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr by %C(yellow)%an%Creset)%Creset' --abbrev-commit --date=relative
ci = commit
ca = commit --amend
bs = bisect
rb = rebase
f = flow
su = submodule update --init --recursive --quiet
who = blame -CCCw
[user]
name = hamsharan
email = [email protected]
[branch]
autosetuprebase = always
[credential]
helper = osxkeychain
[help]
autocorrect = 1