-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
41 lines (41 loc) · 1.11 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
[user]
name = Martin Czuchra
email = [email protected]
useconfigonly = true
[includeIf "gitdir:~/Development/bitcrowd/"]
path = ~/Development/bitcrowd/.gitconfig
[github]
user = apfelfabrik
[color]
ui = true
[core]
excludesfile = ~/.gitignore
compression = -1
[alias]
browse = log --graph --pretty=format:'%Cred%h%Creset %Cblue(%aN)%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr, %aD)%Creset' --abbrev-commit --date=short
tree = "!git browse -n 32"
st = status
co = checkout
up = pull
a = add
c = commit -v
b = branch
pr = "!f() { git fetch -fu ${2:-origin} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f"
pr-clean = "!git for-each-ref refs/heads/pr/* --format=\"%(refname)\" | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done"
[push]
default = tracking
[pull]
rebase = false
[apply]
whitespace = nowarn
[http]
postBuffer = 52428800 # 50M.
[branch]
autosetuprebase = always
[rebase]
instructionFormat = (%aN) - %s (%cr, %aD)
interactive = --reverse
[init]
defaultBranch = main
[url "ssh://[email protected]/"]
insteadOf = https://github.com/