I have a workflow as following: during development, I often commit (locally) regardless whether I have reached any milestone, just for backing up and being able to recover if development goes towards a bad direction, or, for example, all the times at end of the day. But I don't want to see these "technical" commits later on, so I regularly use the amend option. Obviously, sometimes (typically when hitting a milestone) I do git push.
Problem is that I tend to try to amend already pulled commits, that makes conflicts.
Questions:
- Is there something that can protect me amending to an already pushed commit?
- Is this habit bad and I should do something else, like joining 'technical' commits on the server's side?