-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
40 lines (36 loc) · 1 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
[user]
name = Alexey Berezuev
[core]
autocrlf = false
editor = vim
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[alias]
co = checkout
ci = commit
cia = commit --amend
st = status --short --branch
br = branch
brc = rev-parse --abbrev-ref HEAD #Show current branch
hist = log --graph --abbrev-commit --decorate --all --format=format:\"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)\"
type = cat-file -t
dump = cat-file -p
pl = pull
ps = push
f = fetch
fo = fetch origin
fu = fetch upstream
permission-reset = !git diff -p -R --no-color | grep -E \"^(diff|(old|new) mode)\" --color=never | git apply
please = push --force-with-lease
uncommit = reset --soft HEAD~1
puh = push -u origin HEAD
pluh = push --force-with-lease -u origin HEAD