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