-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
39 lines (34 loc) · 980 Bytes
/
.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
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
# name = Victor Cavalcante
# email = [email protected]
[user]
name = Victor Cavalcante
email = [email protected]
[alias]
c = commit -am
up = pull
p = push
s = status -s
sclone = clone --depth=1
df = diff --color --color-words --abbrev
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
co = checkout
# Show the diff between the latest commit and the current state
d = !"git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat"
reup = rebase-update
[color]
ui = always
[core]
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
[include]
# For username / github token / etc
path = ~/.gitconfig.local
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[init]
templatedir = ~/.git_template