add some useful rebasing git aliases

This commit is contained in:
Nick Nisi
2016-04-28 15:19:58 -05:00
parent dc84fc3366
commit ae0f9b94f8

View File

@@ -19,6 +19,10 @@
ss = status
br = branch -v
# rebase commands
cont = rebase --continue
conf = "!git s | grep ^U"
l = log --graph --pretty=format:'%Cred%h%Creset %C(bold blue)%an%C(reset) - %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
# show what I did today
@@ -34,6 +38,9 @@
# show all deleted files in the repo
deleted = "!git log --diff-filter=D --summary | grep delete"
# create an empty commit
empty = commit --allow-empty
# current branch
cbr = rev-parse --abbrev-ref HEAD