Quantcast
Channel: git commit --amend does not commit changes - Stack Overflow
Browsing all 3 articles
Browse latest View live

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 Article



Answer 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 Article

git 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
Browsing all 3 articles
Browse latest View live




Latest Images