-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
62 lines (62 loc) · 1.34 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 = Andrea Vassallo
email = [email protected]
[github]
user = vassalloandrea
[init]
defaultBranch = main
[hub]
protocol = https
[credential]
helper = osxkeychain
[core]
editor = vim
excludesfile = ~/.gitignore_global
autocrlf = input
[color]
ui = auto
diff = auto
status = auto
branch = auto
[format]
pretty = %C(yellow)%h%C(reset) %C(green)%ar%C(reset) %C(bold blue)%an%C(reset) %C(red)%d%C(reset) %s%C(reset)
[commit]
template = ~/.gitmessage
[push]
default = current
[pull]
rebase = true
[merge]
ff = only
[fetch]
prune = true
[rebase]
autosquash = true
autostash = true
[alias]
i = init
c = commit -m
co = checkout
a = add
s = status
d = diff --color-words
r = rebase
rc = rebase --continue
rs = rebase --skip
h = stash
hl = stash list
ha = stash apply
hp = stash pop
pl = pull
ps = push
br = branch
l = !git log -30
la = !git log --all
ll = log --stat --abbrev-commit
aa = add --all
ap = add --patch
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
ci = commit -v
pf = push --force-with-lease
rh = reset HEAD
aliases = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort