DEV Community

Discussion on: Is git commit --amend truly *important*?

Collapse
 
cipharius profile image
Valts Liepiņš

A neat workflow I've seen is developing on PR and using interactive rebase/force push. Once the feature is complete, it usually can be contained to a single commit.

Since you can freely force push to feature branch, this workflow will still be able to use CI/CD pipelines while keeping the main branch clean.