-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
36 lines (36 loc) · 880 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
[core]
editor = vim
hooks-path = ~/.git-hooks
excludesfile = ~/.gitignore
[user]
email = [email protected]
name = Rogerio Chaves
signingkey = 509B1D94
[includeIf "gitdir:~/git_tree/"]
path = .gitconfig-job
[alias]
s = status -sb
st = status
df = diff --cached --color --color-words
dff = diff --color --color-words
current-branch = rev-parse --abbrev-ref HEAD
graph = log --graph --decorate --oneline --branches
l = log
co = checkout
ci = commit
undo = reset --soft HEAD^
ll = log --pretty=oneline
prom = pull --rebase origin master
prot = pull --rebase origin trunk
pfwl = push --force-with-lease
ap = add -p
lg = log --graph --pretty=format:'%C(yellow)%h %Cblue%aN %Cgreen%ar %Cblue%G? %Creset%s'
mine = !git log --author=\"$(git config user.name)\"
[color]
ui = auto
[push]
default = current
[pull]
default = simple
[github]
user = rogeriochaves