4 ms·
I upvoted and am hopefully awaiting a response from someone who can chime in and explain why this is a problem. Amend after push, I could see. You commit, push
by nchelluri 10y ago
I upvoted and am hopefully awaiting a response from someone who can chime in and explain why this is a problem.
Amend after push, I could see. You commit, push, amend, push, but after your first push someone else pushes... then you have two heads. I could see that, but I'm guessing you'd mention that if it were the case.
If one were to attempt avoiding amend you could always make all changes in a feature branch and rebase this branch onto your target afterwards, squashing commits.