DEV Community

Discussion on: Avoid messy git history, use linear history

Collapse
 
paxel profile image
paxel

hey coyla,
we don't use github or gitlab pull requests. just plain git. if you fast forward a merge, you don't see any branches or info without diving into the internals. in our company we try to pull with ff and only rebase if it fails to avoid a) pull merges and b) accidental rebases of merged branches. we also merge no ff always to keep the branch name information. for multiple reasons.

sometimes it goes wrong and everything looks shit. most of the time we have clean feature branches.

I guess in the end it's always what the team decides for and if everyone is happy every solution can be the best one.

Thread Thread
 
bladesensei profile image
coyla

Yes. It depends of the team. I remember that some people said in our last team " we need to keep track of the release branch" so must of the time we used rebase and sometimes normal merge (for releases) as you say.. thanks to share your way to do 🙇✌️✌️