Git: Create a branch from unstaged/uncommitted changes on master
No need to stash. Update 2020 / Git 2.23 Git 2.23 adds the new switch subcommand, in an attempt to clear some of the confusion caused by the overloaded usage of checkout (switching branches, restoring files, detaching HEAD, etc.) Starting with this version of Git, replace the git checkout command below with: git switch -c … Read more