-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
executable file
·47 lines (46 loc) · 1.2 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
[user]
name = Nick Camillo
email = [email protected]
[core]
editor = /usr/bin/vim
excludesfile = /Users/nickcamillo/.gitignore
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = auto
[alias]
ci = commit
st = status --short --branch -u
f = fetch
di = diff
co = checkout
br = branch
b = branch
ba = branch -a
bam = branch -a --merged
bd = branch -d
sta = stash
llog = log --date=local
flog = log --pretty=fuller --decorate
lol = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lg = log --graph --decorate --oneline
lola = log --graph --decorate --oneline --all
blog = log origin/master... --left-right
ds = diff --staged
fixup = commit --fixup
squash = commit --squash
unstage = reset HEAD
rum = rebase master@{u}
mg = merge --no-ff --no-edit
info = show --stat
dc = diff --cached
amend = commit --amend --no-edit
wip = !git add . && git commit -m "wip"
rollback = reset HEAD~1
poh = push origin head
pohf = push origin head --force-with-lease
rpo = remote prune origin
mom = merge origin/master
lom = !git lol origin/master