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