-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig-shared
41 lines (39 loc) · 1.07 KB
/
.gitconfig-shared
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
[color]
status = auto
diff = auto
branch = auto
[alias]
ci = commit -a
co = checkout
ll = log -p
st = status
tree = log --graph --decorate --pretty=oneline --abbrev-commit --all
browse-commit = !sh -c 'hub browse -- commit/$1' -
cob = "!git checkout -b $1 && git push -u origin"
delete-merged = "!git fetch origin && git branch -d $(git branch --merged | grep -v '*' | grep -v master)"
local-branches = !git branch -vv | cut -c 3- | awk '$3 !~/\\[/ { print $1 }'
pc = "!git push origin `git rev-parse --abbrev-ref HEAD`"
pr = pull-request
push-current = "!git push origin `git rev-parse --abbrev-ref HEAD`"
up = pull --rebase --autostash
vi = "!vim .git/index"
[merge]
tool = opendiff
[core]
excludesfile = ~/.gitignore
legacyheaders = false
[repack]
usedeltabaseoffset = true
[rerere]
enabled = 1
[branch "master"]
remote = origin
merge = refs/heads/master
[hub]
protocol = https
[push]
default = simple
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true