-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
35 lines (35 loc) · 932 Bytes
/
.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
[alias]
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
histr = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short --all
ph = push origin HEAD
pl = pull origin HEAD
plr = pull --rebase origin HEAD
poke = !git ls-remote origin | grep -w refs/heads/poke && git push origin :poke || git push origin master:poke
msnc = merge --squash --no-commit
[core]
editor = vim
pager = less -r
[color]
diff = auto
status = auto
interactive = auto
ui = auto
pager = true
[color "branch"]
current = green reverse
local = blue
remote = yellow
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = blue bold
[color "status"]
added = yellow reverse
changed = blue
untracked = cyan
[merge]
conflictstyle = diff3
[user]
name = $USER_NAME
email = $USER_EMAIL