-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
42 lines (42 loc) · 950 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
39
40
41
42
[user]
name = Patrick Koperwas
email = patrickkoperwas@gmail.com
[alias]
co = checkout
cm = commit
st = status
br = branch
df = diff --color
dfom = diff master --color
dfomm = diff main --color
pl = pull
ps = push
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
su = submodule update --init --recursive
ctags = !.git/hooks/ctags
[push]
default = current
[core]
editor = nvim
autocrlf = input
[color]
ui = auto
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[init]
templatedir = ~/.git_template
[diff]
compactionHeuristic = true