-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
executable file
·62 lines (52 loc) · 1.68 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
[user]
name = Adrien PAYEN
email = [email protected]
[github]
user = adrienpayen
[color]
ui = true
branch = auto
diff = auto
interactive = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "status"]
added = green
changed = yellow
untracked = red
[core]
editor = nano
whitespace = trailing-space,space-before-tab
autocrlf = input
excludesfile = ~/.gitignore_global
[help]
autocorrect = 1
[tig]
show-date = "relative" # Show relative commit date.
show-author = "abbreviated"
line-graphics = no
line-number-interval = 5 # Interval between line numbers
horizontal-scroll = 33% # Scroll 33% of the view width
tab-size = 4
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/tags/*:refs/tags/*
[alias]
st = status
ci = commit
co = checkout
br = branch
bra = branch --all
lga = log --decorate --stat --graph --pretty=format:\"%d %Cgreen%h%Creset (%ar - %Cred%an%Creset), %s%n\"
lg = log --decorate --graph --format='%Cgreen%h%Creset %ad %C(cyan)%an%Creset - %s%C(red)%d%Creset' --date=short
lb = log --graph --pretty=format:'%Cred%h%Creset - %C(bold blue)%an%Creset -%C(auto)%d%Creset %s %Cgreen(%cr)' --abbrev-commit
l = log --graph --pretty=format:'%Cred%h%Creset - %C(bold blue)%an%Creset -%C(auto)%d%Creset %s %Cgreen(%cr)' --abbrev-commit --all
ll = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)an>%Creset' --abbrev-commit
stat = shortlog -sne
oups = reset HEAD^
[push]
default = simple
followTags = true