git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Feature request: detecting mistyped command and isdentical possible matches
@ 2018-08-21 13:01 Erik Huizinga
  0 siblings, 0 replies; only message in thread
From: Erik Huizinga @ 2018-08-21 13:01 UTC (permalink / raw)
  To: git

Hi!

I have an alias for 'git status': 'git st'. I also have configured
that an unrecognised (mistyped) Git command runs the closest match. In
this case I did the following:

'''
$ git stt
git: 'stt' is not a git command. See 'git --help'.

The most similar commands are
  st
  status
'''

In this particular case it would have been nice if Git also understood
that 'git st' and 'git status' are equivalent in my configuration, so
that it shouldn't have to warn me about them as different matches, but
instead just run any of them.

Thank you for Git. Maybe I'll see this feature in the future!

Best,
Erik

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

only message in thread, other threads:[~2018-08-21 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-21 13:01 Feature request: detecting mistyped command and isdentical possible matches Erik Huizinga

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).