For example i have 10 commit in my current branch, now i want to to turn last 4 commit into one commit... I have pushed all the commit to my remote branch.. now can i make my last 4 commit message into new commit message?
I want to do it, coz, my last 4 commit message was meaningless...
I tried like this:
git rebase -i HEAD~2
it fires me message like, i have successfully rebased but later, i try to push this, it says, nothing to commit..
Can anyone help me?