-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
39 lines (32 loc) · 811 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 = João Milagres
email = joaoantoniomaruti@gmail.com
[alias]
co = checkout
lg = log --all --graph --decorate --oneline --abbrev-commit
cm = commit
st = status
tags = tag -l
branches = branch -a
remotes = remote -v
wip = !git add -u && git commit -m "WIP"
undo = reset HEAD~1 --mixed
ahead = "!sh -c 'echo branch is $(git rev-list --count origin/master..HEAD) commits ahead master'"
behind = "!sh -c 'echo branch is $(git rev-list --count HEAD..origin/master) commits behind master'"
[core]
editor = vim
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green
changed = yellow
untracked = cyan