i execute (git squash):
git rebase -i head~3 extracting 3 git log:
git log | blabla | xargs git rebase -i head~ this not work because xargs inserts space after head~.
the problem want alias command, cannot use
git rebase -i head~`git log | blabla` because number evaluated when define alias.
i don't have use xargs, need alias (preferably not function).
you can use -i option of xargs:
git log | blabla | xargs -i% git rebase -i head~%
Comments
Post a Comment