• GreenAppleTree@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 hours 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.