-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
26 lines (26 loc) · 755 Bytes
/
gitconfig
File metadata and controls
26 lines (26 loc) · 755 Bytes
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
[color]
ui = true
[core]
excludesfile = ~/.gitignore_global
editor = vim
pager = less -FMRiX
[user]
name = Vairoj Arunyaangkul
email = vairoj@gmail.com
[push]
default = simple
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
st = status
co = checkout
pr = pull --rebase
nuke = reset --hard @{u}
wipebranches = !git branch --merged | grep -v \"\\*\" | xargs -n 1 git branch -d
rc = rebase --continue
com = commit
coma = commit --amend
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%n%s' --date-order
[branch]
autosetuprebase = always
[credential]
helper = osxkeychain