• ericjmorey
    link
    fedilink
    arrow-up
    8
    ·
    1 year 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.