-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
38 lines (38 loc) · 869 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 = Junior Ales
email = edilson.ales.jr@gmail.com
[color]
ui = auto
[branch "master"]
remote = origin
merge = refs/heads/master
[apply]
whitespace = fix
[core]
excludesfile = /opt/boxen/config/git/gitignore
editor = vim
[alias]
a = !git add -A . && git status
boom = !git reset --hard && git clean -df
br = branch
cm = commit -m
co = checkout
com = commit --amend --no-edit
d = diff
dh = diff HEAD
l = log --graph --pretty=format:'%C(yellow)%h%C(red)%d%Creset %s %C(white)- %an, %ar%Creset' --branches
pr = pull --rebase
prune = fetch --prune
s = status
spr = !git stash && git pr && git stash pop
spu = !git stash && git push origin master && git stash pop
undo = reset --soft HEAD^
[push]
default = simple
followTags = true
[merge]
stat = true
[hub]
protocol = https
[status]
showUntrackedFiles = all