forked from bjeanes/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 4
/
gitconfig
39 lines (39 loc) · 950 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
[user]
name = Ryan Bigg
email = [email protected]
[merge]
summary = true
tool = opendiff
[alias]
sp = stash pop
pf = push --force-with-lease
current-branch = "!git rev-parse --abbrev-ref HEAD"
changed-files = "!git diff --name-only $(git current-branch) $(git merge-base $(git current-branch) master)"
rspec = "!git changed-files *_spec.rb | xargs -t -- rspec"
rubocop = "!git changed-files *.rb | xargs -t -- rubocop"
set-upstream = "!git branch --set-upstream-to=origin/$(git current-branch) $(git current-branch)"
[commit]
verbose = true
[apply]
whitespace = nowarn
[color]
branch = auto
diff = auto
status = auto
ui = auto
[core]
editor = code
excludesfile = ~/.gitignore
whitespace = fix
editor = code -w
[help]
autocorrect = 1
[push]
default = current
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = true