-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
31 lines (31 loc) · 1.16 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
[user]
name = Erick Navarro
email = erick@navarro.io
[alias]
pl = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
cm = commit -v
co = checkout
br = branch
json = log --pretty=format:'{%n "commit": "%H",%n "abbreviated_commit": "%h",%n "tree": "%T",%n "abbreviated_tree": "%t",%n "parent": "%P",%n "abbreviated_parent": "%p",%n "refs": "%D",%n "encoding": "%e",%n "subject": "%s",%n "sanitized_subject_line": "%f",%n "body": "%b",%n "commit_notes": "%N",%n "verification_flag": "%G?",%n "signer": "%GS",%n "signer_key": "%GK",%n "author": {%n "name": "%aN",%n "email": "%aE",%n "date": "%aD"%n },%n "commiter": {%n "name": "%cN",%n "email": "%cE",%n "date": "%cD"%n }%n},'
[core]
editor = /usr/bin/vim
autocrlf = input
quotepath = false
excludesfile = ~/.gitignore
[github]
user = erickgnavar
[diff]
compactionHeuristic = true
[color "diff"]
old = red strike
new = green italic
[commit]
template = ~/.git_commit_message.txt
[status]
showUntrackedFiles = all
[gitlab]
user = erickgnavar
[pull]
rebase = true
[init]
defaultBranch = master