-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
executable file
·43 lines (43 loc) · 1.06 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
[alias]
co = checkout
cob = checkout -b
cm = checkout master
bd = branch -D
bdr = push origin --delete
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
cm = commit
ac = !git add -A && git commit
st = status -sb
tags = tag -l
ba = branch -a
rv = remote -v
pl = !git pull --commit && git push
last = log -1 HEAD --stat
se = !git rev-list --all | xargs git grep -F
set-upstream = \
!git branch \
--set-upstream-to=origin/`git symbolic-ref --short HEAD`
unstage = reset HEAD
undo-commit = reset --soft HEAD^
poh = push origin HEAD
pulloh = pull origin HEAD
[user]
name = Luis Leal
signingKey = 6D26394D178EE99D
email = 31942862+luisfelipe3d@users.noreply.github.com
[core]
editor = vim
[pull]
rebase = false
[diff]
tool = vimdiff
[merge]
tool = vimdiff
[help]
autocorrect = 20
[color]
status = auto
diff = auto
branch = auto
interactive = auto
ui = true