-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig.symlink
55 lines (51 loc) · 1.33 KB
/
gitconfig.symlink
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
[user]
name = Christos Stavrakakis
email = [email protected]
[core]
pager = less -FRSX
editor = vim
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = 1
[merge]
tool = meld
[alias]
ci = commit
co = checkout
br = branch
st = status
sh = show
sn = show --numstat
ca = commit --amend
fixup = commit --amend --no-edit
undo = reset --mixed HEAD~1
amend = commit -a --amend
tree = log --graph --decorate --pretty=oneline --abbrev-commit
ls = log --graph --pretty=format:'%C(yellow)%h%Creset%C(red)%d%Creset %s %C(green)(%ad)%Creset %C(blue)[%an]%Creset' --date=relative
lsl = log --graph --pretty=format:'%C(yellow)%h%Creset%C(red)%d%Creset %s %C(green)(%ad)%Creset %C(blue)[%an]%Creset' --date=relative --numstat
lsc = log --graph --pretty=format:'%C(yellow)%h%Creset%C(red)%d%Creset %s %C(green)(%cd)%Creset %C(blue)[%cn]%Creset' --date=relative
changes = diff --name-status
diffstat = diff --stat
cached = diff --cached
rlog = log --patch --reverse
pl = log --patch
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
grep = grep -Ii
# Find file
f = "!git ls-files | grep -i"
# List aliases
la = "!git config -l | grep alias | cut -c 7-"
# Count commits
count = shortlog -sn
[diff]
tool = meld
[help]
autocorrect = 1
[credential]
helper = cache
timeout = 120000
[push]
default = current