-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
28 lines (28 loc) · 839 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
[alias]
aliases = config --get-regexp alias
co = checkout
st = status
ci = commit -v
cia = commit -av
ciam = commit -av --amend
cb = checkout -b
br = branch
lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
cancel = !git commit -a -m 'Temporary commit for cancel' && git reset --hard HEAD~
push = push --set-upstream origin HEAD
psu = push --set-upstream upstream HEAD
pso = push --set-upstream origin HEAD
plu = !git pull upstream $(git rev-parse --abbrev-ref HEAD)
plo = !git pull origin $(git rev-parse --abbrev-ref HEAD)
[push]
default = simple
followTags = true
[pull]
rebase = merges
[merge]
ff = false
[core]
editor = vim
pager = less
[user]
name = wakasa51