more git aliases

This commit is contained in:
Johann Dreo 2021-04-04 12:04:20 +02:00
commit 391d606a51

View file

@ -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