Y
Hacker News
new
|
ask
|
show
|
jobs
by
daveguy
396 days ago
Why not create a branch and rollback only what needs to be rolled back? Branches are O(1) with git, right?
1 comments
sunnybeetroot
396 days ago
OP was insinuating that rolling back commits is a pain point.
link
daveguy
395 days ago
Well, same statement applies. Rolling back commits is also O(1) and just as easy. And if you branch to start with it's not even a "rollback" through the commit history, it's just a branch switch. Feel like OP has never used git before or something.
link
fragmede
395 days ago
Which seems like a tooling issue, imo. In Aider, it's just
/undo
.
link