|
|
|
|
|
by groundCode
2587 days ago
|
|
Like a few other replies, I force push on my branches all the time. I push my code up to my origin as soon as I can and as I go I’ll fix up my commits and force push. There are some advantages for me anyway. Pushing to origin kicks off some smoke tests and end to end tests that are fairy slow and cumbersome to run on my dev machine. That helps me catch bugs earlier, especially since I’m working on a Microservices architecture. Also it acts as a backup for if my dev machine dies on me. I prefer to fix up and force push to create a clean logical story from my code rather than leave in spurious commits which exist only to fix linting for example. |
|