On 10/07/21 17.24, Sergey Organov wrote:
I believe that's because "git switch" tries to do too much. "git switch" should rather switch between existing branches, and do nothing else. As I said once in this discussion already: trouble writing good documentation is often indication of some flaws in the design. Creating (a branch) is fundamentally different operation than switching to (a branch), and that's why the former doesn't fit into "git switch".
So I prefer your suggestion. Also make `git switch` also switches tags or random commits (like `git checkout <tag>` and `git checkout <commit>`).
-- An old man doll... just what I always wanted! - Clara