Today I Learned

hashrocket A Hashrocket project

Switch your git branches

As of git version 2.23, a new command was introduced for switching branches -- git switch

Want to switch to an existing branch?

git switch <branch_name>

Want to switch to a new branch?

git switch -c <new_branch_name>

Full documentation: https://git-scm.com/docs/git-switch

h/t Dillon

See More #git TILs