Web lists-archives.com

Re: git alias for "status" not working




On Mon, Mar 27, 2017 at 9:24 AM, cyg Simple <cygsimple@xxxxxxxxx> wrote:
>> st is also a prefix of "stash".  Maybe it does not like aliases
>> that are prefixes of other commands?

Without the entry in the config file, `git st` results in the expected

git: 'st' is not a git command. See 'git --help'.

It's possible there's a string parse error, but using an alias of
"stx" doesn't work either.  Nor does 'xyzzy'.

> Also check the line endings of the config file.  Make sure they are UNIX
> line endings instead of Windows.

Yes, they are unix line endings.  I normally use a symlink for
~/.gitconfig, and I also tried with with and without the symlink.
Same result.

-- 
David Dombrowsky, Senior Software Engineer
email: davek@xxxxxxxxxxxxxxxxxx
https://www.linkedin.com/in/david-dombrowsky-94334415
http://6thstreetradio.org/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple