adamchainz,
@adamchainz@fosstodon.org avatar

✍️ New post sharing how to undo a rebase using git reflog

https://adamj.eu/tech/2023/11/24/git-undo-rebase/

ClickHouseCI,

@adamchainz isn't #git reset --hard doing the better job in this case?

adamchainz,
@adamchainz@fosstodon.org avatar

@ClickHouseCI the post uses --keep rather than --hard because that keeps around your uncommitted changes. This is explained in the book under the reset chapter, I'll make that a post at some point.

CodingItWrong,
@CodingItWrong@tdd.social avatar

@adamchainz I've been joking for years that I don't want to learn reflog, but this post title sounds just approachable enough that I will give it a try!

adamchainz,
@adamchainz@fosstodon.org avatar

@CodingItWrong This post dives into a use case. I tried to introduce it gradually and clearly in the book!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Durango
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • GTA5RPClips
  • cubers
  • ethstaker
  • normalnudes
  • tacticalgear
  • cisconetworking
  • tester
  • Leos
  • modclub
  • megavids
  • provamag3
  • anitta
  • lostlight
  • All magazines