git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git switch -c message improvement suggestion
@ 2020-07-03  8:30 Ed Avis
  0 siblings, 0 replies; only message in thread
From: Ed Avis @ 2020-07-03  8:30 UTC (permalink / raw)
  To: git@vger.kernel.org

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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-03  8:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03  8:30 git switch -c message improvement suggestion Ed Avis

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).