• ericjmorey@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    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.