On 06/19/2012 05:08 PM, Pavel Sanda wrote:
Richard Heck wrote:
git cp<commit>
git: 'cp' is not a git command. See 'git --help'.
Sorry, I have the alias:
alias.cp=cherry-pick -e -x
I forget what the real commands are.... ;-)
So it ought to be:
git cherry-pick -e -x <commit>
ed status.20x
git add status.20x
git commit --amend
I think I forgot the add step, since I also have the alias:
alias.addst=!kate status.20x && git add status.20x && git commit
--amend
So I do:
git cp <commit>
git addst
and that takes care of it.
Richard