-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
46 lines (37 loc) · 830 Bytes
/
.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
[user]
name = Arinc Elhan
email = [email protected]
[github]
user = elhanarinc
[color]
ui = true
[color "branch"]
current = blue reverse
local = blue
remote = red
[color "status"]
added = yellow
changed = cyan
untracked = red
[alias]
br = branch
co = checkout
lg = log -p
st = status
cmt = commit
lol = log --graph --decorate --pretty=oneline --abbrev-commit
unstage = !sh -c 'git reset --hard HEAD && git clean -fd'
update = !sh -c 'git stash && git pull && git stash pop'
addall = add -A
list = branch -a
renew = !sh -c 'git remote update --prune && git branch -a'
[core]
excludesfile = ~/.gitignore
pager = less
[push]
default = current
[diff]
renames = true
mnemonicprefix = true
[difftool]
prompt = false