-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
57 lines (48 loc) · 2.12 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
53
54
55
56
57
[user]
name = Phil Monroe
email = phil@maven-labs.com
[alias]
a = add --all
b = for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))' --color=always --count 10
ba = for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))' --color=always
s = status
cm = commit -am
c = checkout
prom = pull --rebase origin master
pri = pull --rebase=interactive
f = fetch --all --tags
lg = log --all --graph --oneline --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lgm = log --graph --oneline --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative origin/master..HEAD
lgpr = log --graph --oneline --pretty=format:'%s' --abbrev-commit --date=relative origin/master..HEAD
lgs = log --all --graph --oneline --simplify-by-decoration --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
loma = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative origin/master..HEAD
deploy = push heroku master
deploy-stg = push staging master
deploy-prd = push production master
prune = fetch --prune
undo = reset --soft HEAD^
stash-all = stash save --include-untracked
[push]
default = current
followTags = true
[pull]
rebase = true
ff = only
[color]
ui = true
[core]
editor = open -a atom && atom -w
quotepath = false
[heroku]
account = rbsavvy
[instaweb]
httpd = webrick
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[merge]
ff = only
conflictstyle = diff3
[init]
defaultBranch = main