-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
executable file
·46 lines (45 loc) · 1.37 KB
/
gitconfig
File metadata and controls
executable file
·46 lines (45 loc) · 1.37 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
[user]
name = Mark Schmidt
[color]
status = auto
diff = auto
branch = auto
[diff]
tool = kdiff3
[merge]
tool = opendiff
tool = mate
[rebase]
autoStash = true
[core]
excludesfile = ~/.gitignore
editor = vim
[push]
default = upstream
[apply]
whitespace = nowarn
[alias]
ci = commit
co = checkout
st = status
di = diff
dc = diff --cached
amend = commit --amend
aa = add --all
br = branch
cp = cherry-pick
sm = submodule
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %Cred[%an]%Cred' --abbrev-commit --date=relative
up = !sh -c 'git pull --rebase --prune && git log --pretty=format:\"%Cred%ae %Creset- %C(yellow)%s %Creset(%ar)\" HEAD@{1}..'
ll = log ORIG_HEAD..HEAD --pretty=oneline
my = log --author=mark.schmidt
su = submodule update
latest = for-each-ref --count=10 --sort=-committerdate --format='%(committerdate:relative) %(refname:short)'
diff-no-renames = diff --diff-filter=M
listtags = for-each-ref --format='%(if)%(committerdate)%(then)%(committerdate)%(else)%(*committerdate)%(end) %(refname:lstrip=2)' refs/tags/*
[include]
path = ~/.gitconfig.local
[pull]
ff = only
[rerere]
enabled = true