-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
35 lines (35 loc) · 940 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
[credential]
helper = store
[core]
editor = vim
[color]
ui = auto
[alias]
chp = cherry-pick
dfs = diff --staged
df = diff
sh = stash
st = status
co = checkout
br = branch
rb = rebase
mg = merge
cm = commit -v
cmm = commit -v -m
cma = commit -v --amend
sw = switch
rt = reset
rs = restore
lg = log --graph --abbrev-commit --decorate --format=format:'%C(cyan)%h%C(reset) - %C(green)(%as - %ar)%C(reset) %C(white)%s%C(reset) %C(blue)- %an%C(reset)%C(yellow)%d%C(reset)'
lga = log --all --graph --abbrev-commit --decorate --format=format:'%C(cyan)%h%C(reset) - %C(green)(%as - %ar)%C(reset) %C(white)%s%C(reset) %C(blue)- %an%C(reset)%C(yellow)%d%C(reset)'
conflicted = !vim +Conflicted
[diff]
tool = vimdiff
[difftool]
prompt = false
[rerere]
enabled = true
[mergetool "vim-conflicted"]
cmd = vim +Conflicted
[merge]
tool = vim-conflicted