From: Bagas Sanjaya Date: Sat, 10 Jul 2021 10:37:24 GMT Subject: Re: PATCH: improve git switch documentation Message-ID: <3dbe1f6f-1e9d-3bcc-a7b1-4d9cde56bcde@gmail.com> In-Reply-To: <87im1ieaba.fsf@osv.gnss.ru> 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 ` and `git checkout `). -- An old man doll... just what I always wanted! - Clara