• GreenAppleTree@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 hour ago

      ‘git reset’ won’t. ‘git clean’, on the other hand, most certainly does. Even then you have to --force it by default, to prevent an accidental clean.