This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
43 lines (43 loc) · 1.81 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
#------------------------------------------------------------------------------
[user]
name = Philippe Fanaro
email = philippefanaro@gmail.com
#------------------------------------------------------------------------------
[core]
editor = nvim
autocrlf = input
#------------------------------------------------------------------------------
[alias]
# Committing
c = commit
coa = !git add -A && git commit -m
lca = !git add -A && git commit
# Status
st = status --short
lq = log --oneline -n
lq5 = log --oneline -n 5
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
# Pushing and Pulling
pom = push origin master
pfm = push fork master
puom = pull origin master
rm-submodule = rm --cached
#------------------------------------------------------------------------------
[gc]
reflogExpire = never
#------------------------------------------------------------------------------
[color]
ui = true
#------------------------------------------------------------------------------
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
#------------------------------------------------------------------------------
[pull]
rebase = false
#------------------------------------------------------------------------------