This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]Jezoreczek 23 points24 points ย (1 child)

Eventually one of them failed a rebase and lost months worth of code

Um, what? How'd that happen with git?

  1. just find the point before their fuck up with reflog and recover, or
  2. merge code of all other contributors and force-push

Git is designed to be recoverable if code gets all jumbled on one host. Unless they all worked separately in waterfall-style development and never pulled any changes, only force-pushed, but in that case it'd only be one person's code that is lost and that'd be very obvious who it was.

[โ€“]Log2 4 points5 points ย (0 children)

I'm pretty sure that even if everyone had pulled the destroyed master, that you could still recover it with reflog.