-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
42 lines (42 loc) · 1.05 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
[help]
autocorrect = 1
[alias]
recap = log --since="00:00:00" --no-merges --oneline
last = log -1 --stat
cp = cherry-pick
co = checkout
cl = clone
ci = commit
st = status -sb
br = branch
unstage = reset HEAD --
dc = diff --cached
quick-stats = ! /usr/local/bin/git-quick-stats
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi"
lg = log --graph --decorate --all --pretty=format:'%C(yellow)%h%Creset -%C(red)%d%Creset %Cgreen(%cr) %C(bold blue)<%an>%Creset %s' --abbrev-commit
[user]
# Note for the Next Dev: Please change this info!
# No need to blame someone else!
name = Atef Ben Ali
email = atef.bettaib@gmail.com
[core]
pager = ~/diff-so-fancy | less --tabs=4 -RFX
autocrlf = true
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[diff-so-fancy]
markEmptyLines = false
[gc]
auto = 0