News for hackers. Stuff that matters.
Re:Can we communally deprecate git checkout? by joshka on Thursday January 09, 2025 @06:59PM (#42651106)
I made that exact thought many years ago and came to the direct opposite conclusion. It was worth the cognitive overhead to make the change and I haven't looked back. Most of the time I'm just hitting aliases (from OMZ's git plugin) https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git e.g.

    gsw  git switch
    gswc  git switch -c
    gswd  git switch $(git_develop_branch)
    gswm  git switch $(git_main_branch)

There are no comments on this comment yet.