-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
54 lines (52 loc) · 1.7 KB
/
.gitconfig
File metadata and controls
54 lines (52 loc) · 1.7 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
51
52
53
54
[user]
name = Tumas Bajoras
email = tumas.bajoras@gmail.com
[color]
diff = auto
status = auto
branch = auto
grep = auto
interactive = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = black bold
frag = magenta bold
old = red
new = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[grep]
linenumber = true
[giggle]
main-window-maximized = true
main-window-geometry = 0x0+0+0
history-view-vpane-position = 282
main-window-view = HistoryView
file-view-vpane-position = 552
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lgn = "!f() { git log --graph --pretty=format:'%Cred%H%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --date=relative $@ | git name-rev --stdin --name-only ; } ; f"
vim = !git diff | vim -R -
last = cat-file commit HEAD
stat = diff --stat
staged = diff --cached
ci = commit
co = checkout
st = status
ctags = !.git/hooks/ctags
g = grep --break --heading --line-number
bs = "for-each-ref --sort=-committerdate refs/heads/ --format=' %1B[0;31m%(authordate:relative)%1B[m %09%(refname)'"
bsl = "for-each-ref --sort=-committerdate refs/heads/ --format=' %1B[0;31m%(authordate)%1B[m%09%(refname)'"
[init]
templatedir = /home/tumas/bin/dotfiles/.git_template
[push]
default = simple
[merge]
tool = vim
[core]
editor = vim