-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
38 lines (38 loc) · 1.38 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
[user]
name = Giulio Ungaretti
email = [email protected]
[push]
default = simple
[alias]
co = checkout
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
cp = cherry-pick
st = status -s
cl = clone
ci = commit -m
co = checkout
br = branch
diff = diff --word-diff
dc = diff --cached
la = "!git config -l | grep alias | cut -c 7-"
d = difftool
[github]
user = giulioungaretti
email = [email protected]
[core]
excludesfile = /Users/giulio/.gitignore_global
editor = vim
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[commit]
template = ~/dotfiles/git_commit_msg.txt
[diff]
tool = vimdiff
[difftool]
prompt = false