minus-squareEveryday0764@lemmy.ziptoProgrammer Humor@programming.dev•we did a little bit of branch fuckerylinkfedilinkarrow-up28·11 days agoin the projects i work in i always try to force semi linear history to avoid all of this, never merge (unless it’s the MR) always rebase. this leaves a very readable history, with each feature branch highlighted and no mixture in the commits… i haven’t found any downside yet… maybe that some ci/cd are built to push to main, but making them do branch pr automerge is not that difficult linkfedilink
in the projects i work in i always try to force semi linear history to avoid all of this, never merge (unless it’s the MR) always rebase.
this leaves a very readable history, with each feature branch highlighted and no mixture in the commits…
i haven’t found any downside yet… maybe that some ci/cd are built to push to main, but making them do branch pr automerge is not that difficult