Answer by Ryan O'Neill for git commit --amend does not commit changes
I was forgetting a -a. What I wanted was git commit -a --amend --no-edit.
View ArticleAnswer by hobbs for git commit --amend does not commit changes
You haven't staged anything for commit (using git add file), and you didn't put any filenames on the commit commandline, therefore git commit --amend will only edit the commit message, the commit...
View Articlegit commit --amend does not commit changes
Any time I make changes locally and do either git commit --amend, then :x to save and close out of vim OR even just git commit --amend --no-edit nothing happens. None of the local changes are committed...
View Article
More Pages to Explore .....