-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
50 lines (50 loc) · 1.34 KB
/
Copy pathgitconfig
File metadata and controls
50 lines (50 loc) · 1.34 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[user]
name = jgittler
email = jason.gittler@gmail.com
[alias]
pshh = push origin HEAD
co = checkout
pl = pull
cm = commit
st = status
br = for-each-ref --sort=-committerdate --format='%(refname:short) %(color:green)%(authorname)%(color:reset) %(color:red)%(committerdate:relative)%(color:reset)' refs/heads/
df = diff --color
poh = pull origin HEAD
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
com = checkout main
stl = stash list
sta = "!f() { git stash apply stash@{$1}; }; f"
std = "!f() { git stash drop stash@{$1}; }; f"
[push]
default = current
[core]
editor = nvim
autocrlf = input
pager = diff-so-fancy | less --tabs=4 -RFX
[color]
ui = auto
[color "branch"]
current = green bold
local = white
remote = yellow
[color "diff"]
meta = "190 bold"
commit = green
frag = "165 bold"
old = red bold
new = cyan bold
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = "red bold 238"
newNormal = green bold
newHighlight = "green bold 238"
[color "status"]
added = "10 bold"
changed = "45 bold"
untracked = red bold
unmerged = white red bold
[branch "main"]
remote = origin
merge = refs/heads/main