forked from farzadghanei/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
31 lines (31 loc) · 711 Bytes
/
.gitconfig
File metadata and controls
31 lines (31 loc) · 711 Bytes
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
[user]
name = Alexander Grooff
email = alexandergrooff@gmail.com
[core]
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore_global
autocrlf = false
[color]
ui = auto
diff = auto
branch = auto
status = auto
[pull]
rebase = false
[push]
default = current
autoSetupRemote = true
[fetch]
prune = true
[alias]
upstream-name = !git remote | grep -Eo '(upstream|origin)' | tail -1
head-branch = !git remote show $(git upstream-name) | awk '/HEAD branch/ {print $NF}'
[init]
defaultBranch = master
[tag]
sort = version:refname
[diff]
colorMoved = plain
renames = true
[branch]
sort = -committer-date