-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
31 lines (30 loc) · 1.16 KB
/
.gitconfig
File metadata and controls
31 lines (30 loc) · 1.16 KB
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
[user]
name = Lizards
email = amanda@smart.net
[credential]
helper = cache
[core]
editor = vim
excludesfile = ~/.gitignore
abbrev = 7
[alias]
st = status
s = status --short
ci = commit
co = checkout
lg = log --graph --pretty=format:'%C(magenta)%h%Creset -%C(bold yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lga = log --graph --pretty=format:'%C(magenta)%h%Creset -%C(bold yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all
lgs = log --graph --pretty=format:'%C(magenta)%h%Creset -%C(bold yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative -15
lgsa = log --graph --pretty=format:'%C(magenta)%h%Creset -%C(bold yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative -15 --all
ix = diff --cached
[push]
default = simple
[diff]
tool = vscode
[color "diff"]
old = magenta
new = green
meta = blue bold
frag = brightblue
[difftool "vscode"]
cmd = "code --wait --diff ${LOCAL} ${REMOTE}"