make changes
git commit 'made changes' -a
git push origin
make more changes
git ammend -a
git push origin
I've noticed that when I do a git commit --ammend -a
and then try to push to a remote repo, it requires that I force the push (git push -f
).
My guess is because it's trying to push the same (?whats the word?) commit code but notices differences in files.
Is this correct / normal?