forked from lentz/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
39 lines (39 loc) · 993 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
[alias]
s = status
st = status
stat = show --stat
co = checkout
rs = restore
ci = commit
ca = commit --amend
ane = commit --amend --no-edit
cp = cherry-pick
p = pull
d = diff
br = branch
review = log -p
ds = diff --staged
ls = log --graph --abbrev-commit --date=relative --format=format:'%C(red)%h%C(reset) %C(auto)%d%C(reset) %C(blue)%s%C(reset) %C(green)(%ar)%C(reset) - %C(cyan)%<(8,trunc)%an%C(reset)'
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cgreen\\ [%an]" --decorate --numstat
hist = log --graph --color --pretty='%C(auto)%h %<|(70,mtrunc)%s (%an, %ar)%<(40,mtrunc)%d' --abbrev-commit
amend = commit --amend
[init]
defaultBranch = main
[push]
autoSetupRemote = true
default = simple
followTags = true
[pull]
rebase = true
[fetch]
prune = true
[rebase]
autoSquash = true
autoStash = true
[core]
editor = vim
[include]
path = ~/.gitconfig.local
[user]
name = Matt Zollinhofer
email = matt.zollinhofer@gmail.com