-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitconfig
More file actions
61 lines (61 loc) · 1.51 KB
/
.gitconfig
File metadata and controls
61 lines (61 loc) · 1.51 KB
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
[init]
defaultBranch = master
[color]
diff = auto
status = auto
branch = auto
grep = auto
[core]
excludesfile = ~/.gitignore
pager = less -x2
editor = nvim
quotepath = false
[commit]
verbose = true
[diff]
algorithm = histogram
[push]
default = current
[alias]
br = branch -a -v
co = checkout
ci = commit
d = diff
dc = diff --cached
l = log --graph -n 20 --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(green)- %an, %cr%Creset'
la = log --graph -n 20 --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(green)- %an, %cr%Creset' --branches
ll = log --stat --abbrev-commit
ln = log --graph -n 20 --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(green)- %an, %cr%Creset' --name-status
lp = log --stat -n 20 -p
ls = log --stat --abbrev-commit -n 1 # display previous log
pushf = push --force-with-lease
s = status --short --branch
st = status -sb
tree = log --graph --pretty=oneline --decorate --date=short --abbrev-commit --branches
amc = am --show-current-patch
[user]
email = sheile1024@gmail.com
name = Sheile
[url "https://"]
insteadOf = git://
[pager]
log = diff-highlight | less
show = diff-highlight | less
diff = diff-highlight | less
[merge]
ff = false
[pull]
rebase = true
[fetch]
prune = true
[rebase]
autosquash = true
autostash = true
[rerere]
enabled = true
[help]
autocorrect = 10
[credential "https://github.com"]
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper = !/usr/bin/gh auth git-credential