-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.tracked
84 lines (52 loc) · 1.57 KB
/
config.tracked
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[core]
#editor = emacsclient -a '' -c
editor = nano
pager = less -S
quotePath = false
excludesfile = ~/.config/git/global_gitignore
[init]
templateDir = ~/.config/git/templates/
defaultBranch = master
[push]
default = simple
# When pulling, only do fast-forward. When merging, always produce a
# merge commit. You may explicitly fast-forward with the `ff` macro.
[pull]
ff = only
[merge]
ff = false
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[gpg]
program = gpg
# Set up `meld` for `git difftool`.
[diff]
tool = meld
[difftool]
prompt = false
[difftool "meld"]
cmd = meld "$LOCAL" "$REMOTE"
[advice]
detachedHead = true
[alias]
br = branch
tr = branch -vv
st = -c color.status=always status
sw = switch
ff = merge --ff-only
fap = fetch --all --prune
lg = log --color --graph --all --decorate --pretty='format:%C(auto)%h%d%C(reset)%n%s%n'
ls = ls-files -v
root = rev-parse --show-toplevel
# diff with granularity of File, usual dIff, or Character
df = diff --stat --color
di = diff --color --ws-error-highlight=all
dw = diff --word-diff=color --color
dc = diff --word-diff=color --word-diff-regex=. --color
meld = difftool --dir-diff --tool=meld
latest = for-each-ref --format='%(committerdate:iso8601)\t%(committername)\t%(refname)\t%(committerdate:relative)' --sort=committerdate
amend = commit --amend
fixup = -c core.editor=true commit --amend