-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
46 lines (46 loc) · 1.27 KB
/
gitconfig
File metadata and controls
46 lines (46 loc) · 1.27 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
[user]
name = Avishai Weissberg
email = avishai@deepgenomics.com
[core]
excludesfile = /Users/ovesh/.gitignore_global
editor = vim
[difftool "sourcetree"]
cmd = /usr/bin/diffmerge --nosplash \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /usr/bin/diffmerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\"
trustExitCode = true
[color]
status = auto
diff = always
grep = always
[alias]
rename = "!f() { \
echo git checkout $1 && \
git checkout $1 && \
echo git checkout -b $2 && \
git checkout -b $2 && \
echo git push origin -u $2 && \
git push origin -u $2 && \
echo git branch -d $1 && \
git branch -d $1 && \
echo git push origin :$1 && \
git push origin :$1; \
}; f"
maketracking = !sh -c 'b=`git symbolic-ref HEAD | sed \"s/^refs\\/heads\\///\"` && test \"$b\" != \"\" && git branch --set-upstream \"${b}\" \"origin/${b}\"'
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%Creset' --abbrev-commit
[diff]
tool = meld
[grep]
lineNumber = true
[push]
default = simple
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
templatedir = ~/.git-templates
[pull]
ff = only