-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
45 lines (45 loc) · 1.37 KB
/
.gitconfig
File metadata and controls
45 lines (45 loc) · 1.37 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
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
[user]
name = Marcus Plutowski
email = achierius@gmail.com
[core]
editor = vim -X
fsmonitor = true
untrackedCache = true
pager = delta -n
[alias]
please = push --force-with-lease
fixup = "!git log --oneline --decorate @{u}.. | fzf --ansi | awk '{print $1}' | xargs -r git commit --fixup="
tack = commit --amend --no-edit
amend = commit --amend
stsh = stash --keep-index
staash = stash --include-untracked
staaash = stash --all
qstat = status --short --branch
grog = log --graph --abbrev-commit --decorate --all --format=format:\"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)\"
count-lines = "! git log --author=\"$1\" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf \"added lines: %s, removed lines: %s, total lines: %s\\n\", add, subs, loc }' #"
rbc = rebase --continue
rba = rebase --abort
cpc = cherry-pick --continue
cpa = cherry-pick --abort
s = status
c = commit
co = checkout
[interactive]
diffFilter = delta -n --color-only
[delta]
navigate = true
[merge]
conflictstyle = zdiff3
[diff]
algorithm = histogram
mnemonicPrefix = true
renames = true
colorMoved = default #plain ?
[pager]
log = less -j4