-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
59 lines (53 loc) · 1.13 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
58
59
# Anisble managed. Do NOT change this file.
[user]
email = [email protected]
name = Arjuna
[core]
pager = less -F -X
# autocrlf = true
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[push]
default = current
[pull]
rebase = false
[merge]
ff = only
tool = bc
[fetch]
prune = true
[alias]
rgrep = !git grep
m = merge --no-ff
st = status
ai = add -i
ap = add -p
d = diff
r = remote
dc = diff --cached
ci = commit -v
cia = commit -v -a
co = checkout
cp = cherry-pick
l = log
ll = log -p
b = branch
reha = reset --hard
# %h short commit hash
# %d ref names
# %s subject
# %cn committer name
# %cr committer date
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cn %cr)%Creset' --abbrev-commit --date=relative
lga = log --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cn %cr)%Creset' --abbrev-commit --date=relative
[diff]
tool = bc
[difftool "bc"]
path = /usr/bin/bcompare
[mergetool "bc"]
path = /usr/bin/bcompare