Thread (5 messages) flat view 5 messages, 4 authors, 2021-07-10

Re: PATCH: improve git switch documentation

From: Bagas Sanjaya <hidden>
Date: 2021-07-10 10:37:31

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help