151
submitted 1 year ago by Aarkon@feddit.de to c/memes@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Luvon@beehaw.org 4 points 1 year ago

Worst words heard today: reset has reset to the last head that was pushed to remote

Goodbye three local commits, I’ll miss you

[-] implicit_cast@kbin.social 5 points 1 year ago

git reflog! It gives the history of commits that your HEAD has previously pointed at.

If a rebase goes bad, you can fish out your old HEAD and recover your pre-rebase state.

load more comments (1 replies)
this post was submitted on 25 Jul 2023
151 points (93.1% liked)

Memes

45550 readers
1529 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS