this post was submitted on 03 Jan 2024
22 points (95.8% liked)

Git

2938 readers
1 users here now

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Resources

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

founded 2 years ago
MODERATORS
22
submitted 11 months ago* (last edited 11 months ago) by ericjmorey to c/git
 

Julia Evans (@[email protected]) writes:

i've been trying to figure out why some people prefer merge and some people prefer rebase. I feel like there must be some systematic reasons, like "people in situation X tend to prefer rebase, people in situation Y tend to prefer merge”

my only thought so far is that small short-lived changes work well with rebase, and longer-lived branches are maybe better to merge

(not looking for why you think rebase/merge is better here or why the people who disagree with you are wrong)

similarly, I'm trying to figure out why some folks prefer a linear commit history and some folks prefer to preserve the history as it actually happened

I feel like there are also some systematic reasons for this (like in situation X a linear history is more appropriate but in situation Y it's more appropriate to preserve what actually happened) but I haven't worked it out

for example maybe "preserve what actually happened" is more appropriate for open source projects? not sure.

you are viewing a single comment's thread
view the rest of the comments
[–] charolastra 14 points 11 months ago (4 children)

You just have to push through

[–] [email protected] 7 points 11 months ago (3 children)

but don't squash your feelings

[–] [email protected] 6 points 11 months ago (2 children)
[–] noproblemmy 5 points 11 months ago (1 children)

Surely those cherries come from a remote origin.

[–] [email protected] 4 points 11 months ago

Then check-out their due date, specially if they have been left out in a stack for too long, before you pop one out.