I want to fix a file in past commit. This might affect all ascending commits.
Is there an easy way to do that? Can you give me a guideline of how to do that?
Many times when I commit twice I find that I've had error in the first commit, and I wish to fix the error without having to 'git reset' my last good commit.
For clarification. I want to change the actual commit, that is, I want the content of the past commit to be changed. IOW I want to change history!