# git switch -c message improvement suggestion

1 messages from 2020-07-03 to 2020-07-03. Participants: Ed Avis.
Thread: https://gitlist.dev/t/53795

## Ed Avis, 2020-07-03 08:30

Subject: git switch -c message improvement suggestion
Message-ID: <BL0PR11MB346072F896E88001502324C69D6A0@BL0PR11MB3460.namprd11.prod.outlook.com>
URL: https://gitlist.dev/e/BL0PR11MB346072F896E88001502324C69D6A0%40BL0PR11MB3460.namprd11.prod.outlook.com

```
I think that git switch -c could tell you not only that you already created the branch, but you already switched to it!

% git switch -c branch1
% git switch -c branch1
fatal: A branch named 'branch1' already exists, and you are already on it

-- 
Ed Avis <ed.avis@qmaw.com>
```
