QuazarOmega

joined 2 years ago
MODERATOR OF
[–] [email protected] 2 points 1 month ago

I see, now that makes sense to me as well! I too make commits messily as thoughts crop up, so I think this technique might be good for me in some cases, thanks!

[–] [email protected] 1 points 1 month ago

Yoo, you're a real one, so thorough, thank you! ❤️ I just kept finding crops from random social pages by reverse image searching

[–] [email protected] 7 points 1 month ago (3 children)

I badly need the source of this pic

[–] [email protected] 1 points 1 month ago

Hmm, that sounds like it could be what I'm looking for, had never consider you could branch while in the middle of a rebase, nice!

[–] [email protected] 2 points 1 month ago

That looks pretty crazy! I kinda want to unlock this power ngl

[–] [email protected] 2 points 1 month ago (2 children)

How does cherry picking improve the workflow? I'm not sure I understand, is it so you can keep the original branch as reference and know where you could have screwed up if it happens?

[–] [email protected] 2 points 1 month ago

My issue wasn't so much if it managed to run and more of "I don't want this change to have happened here" kind of thing, still that's a neat tool! I wish I could use it, but the codebase I'm working on is in such a hugely sorry state, no testing suite set up is the last of the many problems that most likely won't be solved because they're not "important enough", not like features (built with cardboard and duct tape), yeah we can't allocate much time at all to code quality and general work for the project infrastructure if we can call it that.
About the generic advice of making smaller rebases one by one, yes, I'll learn to do that, I also solved it like that in the end

[–] [email protected] 13 points 1 month ago

Most definitely Void

[–] [email protected] 2 points 1 month ago (1 children)

I'm curious, are you able to display nerd glyphs and ligatures somehow? Or is it all just usual TTY font?

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (2 children)

Really cool, I'll give jj a try sometime, thanks for bringing it to my attention!
As for the rebase I'll try in a toy repo, if it works as expected it would be great, this time I ended up aborting and starting over, then doing several rebases on the same range of commits to eventually get to the result I wanted without having to fear losing/breaking something or caving due to the cognitive load of managing many commits at a time

[–] [email protected] 1 points 1 month ago (3 children)

That's not what I need, I can just abort the rebase in this case and I'd get back my branch as it was before I started, but I explicitly want to go to a state in the middle so not as to lose the modifications that I did intend to do.
Aside from that, I also do that, have seen what hell can be like in rebasing, so knowing where you started is always valuable, I agree

[–] [email protected] 1 points 1 month ago (4 children)

You could abort the rebase, then move back to the commit you want to using the reflog and remove the entries you skipped from the rebase todo.

Would this bring me back to the rebasing process so I don't lose the progress?

Interesting mention of jj, never heard of it before! It says it can use Git as backend, so that means I could do these kinds of operations easily without stringing several commands together on the repositories I'm already working on without changing them?

view more: ‹ prev next ›