forked from jonikanerva/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
50 lines (50 loc) · 1.04 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
46
47
48
49
50
[core]
editor = vim
autocrlf = false
excludesfile = ~/.gitignore
pager = less -iXFR
[user]
name = Jyri Kytömäki
email = [email protected]
[credential]
helper = osxkeychain
[color]
status = auto
diff = auto
branch = auto
interactive = auto
[alias]
st = status
d = diff
com = commit -v
co = checkout
cp = cherry-pick
diffc = diff --cached
l = log
ll = log -p
b = branch
br = branch
info = !"git config --list | grep ^remote.origin.url | cut -d = -f 2"
fixup = "!git log -n 50 --pretty=format:'%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup"
[rerere]
enabled = true
[format]
numbered = auto
[push]
default = current
autoSetupRemote = true
[branch]
autosetuprebase = always
[branch "master"]
rebase = true
mergeoptions = --no-commit --no-ff
[branch "devel"]
rebase = true
[branch "develop"]
rebase = true
[fetch]
prune = true
[rebase]
autosquash = true
[url "[email protected]:"]
insteadOf = https://github.com/