more git aliases
This commit is contained in:
parent
558a6cfd90
commit
391d606a51
1 changed files with 12 additions and 8 deletions
14
.gitconfig
14
.gitconfig
|
|
@ -2,14 +2,14 @@
|
||||||
name = nojhan
|
name = nojhan
|
||||||
email = nojhan@nojhan.net
|
email = nojhan@nojhan.net
|
||||||
[alias]
|
[alias]
|
||||||
up = pull origin
|
|
||||||
st = status
|
st = status
|
||||||
di = diff
|
|
||||||
co = checkout
|
|
||||||
# create branch
|
|
||||||
cb = checkout -b
|
|
||||||
ci = commit -v
|
ci = commit -v
|
||||||
|
cb = checkout -b # create branch
|
||||||
ca = commit -v -a
|
ca = commit -v -a
|
||||||
|
co = checkout
|
||||||
|
lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"
|
||||||
|
up = pull origin
|
||||||
|
di = diff
|
||||||
br = branch
|
br = branch
|
||||||
sta = stash
|
sta = stash
|
||||||
[pager]
|
[pager]
|
||||||
|
|
@ -22,3 +22,7 @@
|
||||||
ui = auto
|
ui = auto
|
||||||
[push]
|
[push]
|
||||||
default = simple
|
default = simple
|
||||||
|
[rebase]
|
||||||
|
instructionFormat = (%an <%ae>) %s
|
||||||
|
[credential]
|
||||||
|
helper = store
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue