• ericjmorey
    link
    fedilink
    arrow-up
    8
    ·
    11 months ago

    Yes git restore and git switch were made specifically to be simplified, more specific commands which are safe from performing destructive actions without warning. They were implemented in Git 2.23.0 in 2019.