top | item 46603983

(no title)

jimbobimbo | 1 month ago

Rebase is easy and not terrifying. Here's a 1k word article on how to do it correctly.

Or just do a merge and move on with your life.

discuss

order

bheadmaster|1 month ago

If you want to have a linear history on main, either always rebase your branch onto main, or merge but only accept squashed commits onto main.

WolfeReader|1 month ago

I would prefer to have accurate history over linear "history".

darknavi|1 month ago

It's funny because I learned git on the job and we exclusively used rebase when I was learning my git fundamentals. I wouldn't say merging scares be, but it's never a tool a reach for.

mathisfun123|1 month ago

> Here's a 1k word article

lol if 1k words is "not easy" for you, i think you have bigger problems than merge vs rebase.