-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.gitconfig
47 lines (47 loc) · 1.41 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
[user]
email = [email protected]
name = Sebastiano Merlino
[color]
branch = auto
status = auto
diff = auto
ui = auto
[core]
ui = true
interactive = true
compression = 9
whitespace = trailing-space,space-before-tab
editor = vim
pager = less -r
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[push]
default = upstream
[branch]
autosetuprebase = always
[alias]
dry-push = push -n
wu = log --stat origin..@{0}
up = pull --rebase
st = status
ci = commit
co = checkout
br = branch
df = diff --color-words
ll = log -p --stat --abbrev-commit
glog = log --graph --decorate --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
complete-log = log --graph --decorate --tags --branches --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
serve = daemon --reuseaddr --verbose --base-path=. --export-all --enable=receive-pack ./.git
list-changed = ! git status -s | awk '/^.M/ {print $2}'
list-untracked = ! git status -s | awk '/^\\?\\?/ {print $2}'
list-unmerged = ! git status -s | awk '/^.U/ {print $2}'
list-staged = ! git status -s | awk '/^[AM]/ {print $2}'
list-added = ! git status -s | awk '/^[AM]/ {print $2}'
[grep]
lineNumber = true
[color "grep"]
lineNumber = yellow
[commit]
template = /home/etr/.gitmessage