-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
45 lines (45 loc) · 1.14 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
44
45
[alias]
aa = add --all
b = branch
branch-name = rev-parse --abbrev-ref HEAD
browse = !hub browse
can = commit --amend --no-edit
ci-status = !hub ci-status
co = checkout
compare = !hub compare
get = "!git pull --rebase origin $(git branch-name)"
give = "!git push origin $(git branch-name)"
lo = log --decorate --all -20 --pretty=format:'%C(auto)%h <%an>%d %s (%cr)%Creset' --abbrev-commit --date=short --branches
pf = push --force-with-lease
recent = branch --sort=-committerdate --format="%(committerdate:relative)%09%(refname:short)"
ri = rebase -i
st = status
[color]
ui = auto
[core]
excludesfile = ~/.gitignore
autocrlf = input
attributesfile = /Users/kevin/.gitattributes
[merge]
ff = only
conflictStyle = zdiff3
[commit]
template = ~/.gitmessage
[fetch]
prune = true
[rebase]
autosquash = true
[diff]
colorMoved = zebra
algorithm = histogram
[pager]
branch = cat
[user]
name = Kevin Murphy
useConfigOnly = true
[credential]
helper = osxkeychain
[init]
defaultBranch = main
[diff "rspec"]
xfuncname = "^[ \t]*((RSpec|describe|context|it|before|after|around|feature|scenario|background)[ \t].*)$"