-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig
More file actions
64 lines (64 loc) · 1.52 KB
/
dot_gitconfig
File metadata and controls
64 lines (64 loc) · 1.52 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
55
56
57
58
59
60
61
62
63
64
[user]
name = Justin Arulnathan
email = justin.arulnathan@commoncode.io
[core]
autocrlf = false
safecrlf = true
editor = subl -n -w
excludesfile = /Users/Justin/.gitignore_global
whitespace = -trailing-space,-indent-with-non-tab,-tab-in-indent
[alias]
co = checkout
ci = commit
cp = cherry-pick
st = status -s
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
type = cat-file -t
dump = cat-file -p
fu = rebase -i --autosquash
fwl = push --force-with-lease
slog = log --oneline --decorate
gr = grep -Ii
diff = diff --word-diff
ac = !git add . && git commit -am
po = push origin
pa =! git fetch --all && git pull
mt = mergetool --tool=opendiff
[diff]
tool = meld
whitespace = --ignore-space-at-eol
[difftool]
prompt = false
[difftool "meld"]
trustExitCode = true
cmd = open -W -a Meld --args \"$LOCAL\" \"$PWD/$REMOTE\"
[mergetool]
tool = kdiff3
keepBackup = false
[filter "media"]
required = true
clean = git-media-clean %f
smudge = git-media-smudge %f
[push]
default = simple
[rebase]
autosquash = true
[pull]
rebase = true
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
template = /Users/Justin/.stCommitMsg
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
[credential]
helper = osxkeychain