We all have been there… For the beginner it’s easy to mess things up. What are your horror stories with Git?

Link to xkcd

  • HunterBidensLapDog@infosec.pub
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 year ago

    As an old programmer who has used git since Linus whipped it up over one frenzied weekend after his spat with the evil BitKeeper and who has studied its mysteries since before most of you were born … yeah just delete the damn project and download a new version.

    • halcyon
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Bonus points if you improve your changes by reducing the number of files that need changing. So that post delete, clone, git checkout -b feat_fix_ce3912, copy …/feat_files/* replaces just 2 files somewhere down in /src/com/company/util/…