-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
41 lines (41 loc) · 1.19 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
[push]
default = current
[color]
ui = auto
[alias]
aa = add --all
ap = add --patch
ca = commit --amend
ci = commit -v
co = checkout
create-branch = !sh -c 'git push origin HEAD:refs/heads/$1 && git fetch origin && git branch --track $1 origin/$1 && cd . && git checkout $1' -
delete-branch = !sh -c 'git push origin :refs/heads/$1 && git remote prune origin && git branch -D $1' -
merge-branch = !git checkout master && git merge @{-1}
pr = !hub pull-request
st = status
up = !git fetch origin && git rebase origin/master
ctags = !.git/hooks/ctags
[core]
excludesfile = ~/.gitignore
autocrlf = input
[include]
path = .gitconfig.local
[init]
templatedir = ~/.git_template
defaultBranch = main
[merge]
renamelimit = 2000
[pager]
log = /opt/homebrew/share/git-core/contrib/diff-highlight/diff-highlight | less
show = /opt/homebrew/share/git-core/contrib/diff-highlight/diff-highlight | less
diff = /opt/homebrew/share/git-core/contrib/diff-highlight/diff-highlight | less
[user]
email = [email protected]
name = "Patrik Bóna"
[pull]
ff = only
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true