Re: git wants to commit more files than expected ?
- In reply to: Nuno Teixeira : "Re: git wants to commit more files than expected ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Aug 2022 16:07:46 UTC
Am 13.08.22 um 17:45 schrieb Nuno Teixeira: > Hi, > > I always forgot to use `git commit --amend` when commit needed some > correction/change. I usually do a `git reset --hard ^HEAD` and then > commit from scratch :) > > Next commit I do I will use amend and see if I got similar problem > like yours. --amend means "tack what is currently marked for commit onto the previous commit, rewriting it and changing its hash".