forked from AlessioRocco/dotfiles-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
38 lines (36 loc) · 773 Bytes
/
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 = Rita D'Aprano
email = rita.daprano@gmail.com
[core]
excludesfile = /opt/boxen/config/git/gitignore
editor = stt
[push]
default = tracking
[color]
diff = auto
status = auto
branch = auto
[format]
pretty = %Cblue%h%Creset %Cgreen[%ar]%Creset (%an) %s
[alias]
i = init
c = commit -m
a = add
s = status
d = diff --color-words
pl = pull
ps = push
ci = commit
co = checkout
br = branch
lg = "!source ~/.githelpers && pretty_git_log"
l = !git lg -30
la = !git lg --all
ll = log --stat --abbrev-commit
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort
[github]
user = AlessioRocco
[credential]
helper = /opt/boxen/bin/boxen-git-credential
[hub]
protocol = https