-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitconfig
More file actions
69 lines (51 loc) · 1.5 KB
/
Copy path.gitconfig
File metadata and controls
69 lines (51 loc) · 1.5 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
65
66
67
68
69
[alias]
gl = log -10 --color=always --all --graph --topo-order --pretty='format: %Cgreen%h%Creset %s%Cred%d%Creset%n'
gll = log --color=always --all --graph --topo-order --pretty='format: %Cgreen%h%Creset %s%Cred%d%Creset%n'
st = status
ci = commit
cia = commit --amend --no-edit
co = checkout
br = branch
unstage = reset HEAD --
last = log -1 HEAD
undo = reset --soft HEAD^
meld = !~/lib/git-meld/git-meld.pl
up = !git remote update -p; git merge --f-only @{u}
di = diff -b
[color]
ui = auto
[user]
name = Enrique Fernandez
email = [email protected]
;email = [email protected]
[diff]
tool = meld
guitool = meld
[difftool]
prompt = false
[core]
excludesfile = ~/.gitignore_global
editor = vim
[credential]
helper = cache --timeout=300
[push]
default = current
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[filter "clang_format"]
clean = clang-format-7 -assume-filename=%f
smudge = cat
[filter "clang_format10"]
clean = clang-format-10 -assume-filename=%f
smudge = cat
[http]
cookiefile = /home/efernandez/.gitcookies
# Always use ssh for github, even if the remote URL uses https or git
# Taken from: http://wiki.ros.org/bloom/Tutorials/GithubManualAuthorization
[url "[email protected]:"]
insteadOf = git://github.com/
[url "[email protected]:"]
insteadOf = https://github.com/