nongrata081 / devkit

development kit for dev workflow optimisation
0 stars 0 forks source link

investigate & implement git history rewrite #24

Open nongrata081 opened 5 years ago

nongrata081 commented 5 years ago

https://stackoverflow.com/questions/2085871/strategy-for-preventing-or-catching-git-history-rewrite

nongrata081 commented 5 years ago

can we enable rewriting history for executing git commit --amend ? While developing, I might create a lot of commits, but before merging the branch, it might be a good idea to do the cleanup, and squash multiple commits into a single one, thus not polluting master with bazillion of one-feature-related commits. ?