-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgitconfig
79 lines (79 loc) · 1.84 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[alias]
amend = commit --amend
ap = add -p
br = branch
ci = commit
co = checkout
co-tracking-from-master = "!f() { git checkout -t -b ${1-patch} master; }; f"
dc = diff --cached
df = diff
find-commit = log -pS
format-patch-from-master = format-patch --base=auto --cover-letter -o outgoing/ master
gist = !xdg-open https://gist.github.com
github = !xdg-open `git rev-parse 2>/dev/null && \
git config --get remote.origin.url | \
sed -e 's/com:/com\\//' -e 's/git@/https:\\/\\//' || \
echo "https://github.com/xatier?tab=repositories"`
hub = !git github
l = log
last = log -1 HEAD
lg = log --all --graph --pretty='%C(yellow)%h%C(reset)%C(bold yellow)%d%C(reset)%C(green) %an%C(reset)%C(dim white) (%ar)%C(reset) %n %s%n'
lm = log master
lp = log -p
ls = ls-files
m = merge
r = remote -v
show-graph = log --all --graph --oneline --decorate
st = status
stash-unapply = !git stash show -p | git apply -R
sw = switch
unstage = restore --staged
[blame]
coloring = repeatedLines
[branch]
sort = -committerdate
[commit]
gpgSign = true
template = /home/xatier/.gitmessage
verbose = true
[core]
attributesfile = /home/xatier/.gitattributes
excludesfile = ~/.gitignore
fsmonitor = true
pager = less -x1,5
preloadindex = yes
untrackedCache = true
[diff]
algorithm = histogram
[fetch]
prune = true
fsckobjects = true
[help]
autocorrect = 30
[merge]
conflictstyle = diff3
tool = vimdiff
[pull]
rebase = true
[push]
default = simple
[rebase]
autoStash = true
stat = true
updateRefs = true
[receive]
fsckObjects = true
[rerere]
enable = true
[stash]
showPatch = true
[status]
showUntrackedFiles = all
[transfer]
fsckobjects = true
[url "git@github.com:"]
insteadOf = https://github.com/
[user]
email = xatierlike@gmail.com
name = xatier
signingkey = EE2C5C1F7D756A33