dgoosens, (edited )
@dgoosens@phpc.social avatar

I was today years old when I learned about the existence of the

git revert %hash%

command...

it creates a new commit where the %hash% commit is undone...

https://git-scm.com/docs/git-revert

timwolla,
@timwolla@phpc.social avatar

@dgoosens Be careful with reverting a merge commit: It will revert the logical change of the merge (“invert the diff”), but the fact that a branch was merged will not be reverted. In other words: Trying to merge again will not do anything.

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