-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
55 lines (55 loc) · 1.6 KB
/
gitconfig
File metadata and controls
55 lines (55 loc) · 1.6 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
[include]
path = ~/.gitconfig_private
[user]
name = Daniel Jimenez
[merge]
tool = opendiff
[core]
excludesfile = ~/.gitignore_global
quotepath = false
autocrlf = input
editor = cot --wait
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[mergetool]
keepBackup = false
[push]
default = current
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[alias]
s = status
a = add
co = checkout
b = branch
c = commit
l = log
sf = submodule foreach
nuke = !git clean -Xdf && git reset --hard
quickserve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
prune-branches = !"git branch --merged | grep -v '*' | grep -v master | grep -v develop | xargs -L1 | xargs git branch --verbose -D"
#prune-branches-remote = !"git fetch && git branch --remote --merged | grep origin | grep -v '>' | grep -v master | grep -v develop | grep -v release | xargs -L1 | cut -d"/" -f2- | xargs git push origin --verbose --delete --dry-run"
[apply]
whitespace = nowarn
[rebase]
autostash = true
[diff]
tool = opendiff
[difftool]
prompt = false
[difftool "opendiff"]
cmd = /usr/bin/opendiff \"$LOCAL\" \"$REMOTE\" -merge \"$MERGED\" | cat
[credential]
helper = osxkeychain
[commit]
template = /Users/djimenez/.stCommitMsg
[pull]
ff = only
[url "git@gitlab.com:"]
insteadOf = https://gitlab.com/