forked from nickdiego/magic-dot-files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
59 lines (58 loc) · 1.65 KB
/
.gitconfig
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
[user]
name = Alvaro Silva
email = [email protected]
[color]
ui = auto
#diff = auto
branch = auto
[color "status"]
changed = cyan bold
untracked = red bold
added = green bold
[alias]
br = branch
st = status
co = checkout
ci = commit
grepn = grep -n
log1 = log --pretty=oneline --abbrev-commit
log2 = log --graph
rlog = log --pretty=format:\"%h %Cblue%cr%Creset %cn %Cgreen%s%Creset\"
tag1 = tag | sort -n -t . -k 1,1 -k 2,2 -k 3,3
last = log -1 HEAD
[url "git://anongit.kde.org/"]
insteadOf = kde:
[url "ssh://[email protected]/"]
pushInsteadOf = kde:
[merge]
tool = meld
#$LOCAL is the file in the current branch (e.g. master).
#$REMOTE is the file in the branch being merged (e.g. branch_name).
#$MERGED is the partially merged file with the merge conflict information in it.
#$BASE is the shared commit ancestor of $LOCAL and $REMOTE, this is to say the file as it was when the branch containing $REMOTE was originally created.
[mergetool "meld"]
cmd = meld "$LOCAL" "$MERGED" "$REMOTE" --output "$MERGED"
# cmd = meld "$LOCAL" "$BASE" "$REMOTE" --output "$MERGED"
[core]
autocrlf = false
filemode = false
[http]
cookiefile = /home/asilva/.gitcookies
[color "diff"]
old = red bold
frag = yellow
func = yellow bold
meta = green bold
[color "branch"]
remote = red bold
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true