add some useful rebasing git aliases
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user