forked from jigish/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
51 lines (51 loc) · 1.14 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
[user]
name = Jigish Patel
email = [email protected]
[core]
excludesfile = ~/.git-global-ignore
editor = vim
[diff]
tool = vimdiff
[color]
diff = auto
status = auto
branch = auto
[alias]
stat = status
s = status --ignore-submodules=untracked
c = commit
a = add
sn = status --untracked=no
save = stash save -u
co = checkout
cb = checkout -b
cp = cherry-pick
wc = whatchanged
l = log --graph --pretty=format:'%Cred[%h]%Creset%Cgreen[%ci]%C(bold blue)[%an]%Creset%C(yellow)%d%Creset %s'
f = fetch
fo = fetch origin
fom = fetch origin master:master
fod = fetch origin develop:develop
b = branch
bd = branch -d
sub = submodule
suba = submodule add
subu = submodule update --init
pom = push origin master
po = push -u origin
pob = !sh -c 'git push -u origin `git r`'
pdo = push --delete origin
r = rev-parse --abbrev-ref HEAD
h = rev-parse HEAD
pr = pull-request -b master
prd = pull-request -b develop
[branch]
autosetuprebase = always
[gc]
auto = 0
[push]
default = tracking
[heroku]
account = personal
[url "ssh://[email protected]"]
insteadOf = https://stash.corp.netflix.com/scm