delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/03/27/08:24:22

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=BeLp4e1EDKZ34bx5
hYgDM8cF9P+m7mSuL5PbfzvXOaN7I6JMbKo+/7AAGkWUBzePJNZmRQnKvpjyf+lu
B+GxgB32qQHvndHvQE8FFM7Rpv9wsyD55GTEHmHU1HCDEUx+d/SMDvq3cQPCbrEX
eS4fKe+q5pSRPmSg7TS16+NyXts=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=EGfRoT1Qm/sr8+Y0s4l5xk
yYhPU=; b=SHiG+WqR6XSVLpkXR1qNSsMMGTMczWPNGg4sUcUK9NeVtIsthZ00J5
IjByzWhpZ3W2DEvgNMkq+sMEskoMSt1ZVjo0RjcXACGPPR0wsp/P8xyF25qXiydL
gDoevsqM0eHUt7sJr4uDUYMItPNBz+h/JEz6+UAzO+NRwXLFVJ21o=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*R:D*edu
X-HELO: mailsrv.cs.umass.edu
Reply-To: moss AT cs DOT umass DOT edu
Subject: Re: git alias for "status" not working
References: <CAHdnY6Ohn0-5_KvPCqhqh5+QwjEgRzVm-ykpO0mGVbHYgyQC5Q AT mail DOT gmail DOT com>
To: cygwin AT cygwin DOT com
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <eeb48cc7-030a-1bf7-b6ac-b88b63bea861@cs.umass.edu>
Date: Mon, 27 Mar 2017 08:23:54 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CAHdnY6Ohn0-5_KvPCqhqh5+QwjEgRzVm-ykpO0mGVbHYgyQC5Q@mail.gmail.com>
X-IsSubscribed: yes

On 3/27/2017 8:17 AM, David Dombrowsky wrote:
> I'm not sure how to debug this one.  I have a ~/.gitconfig that sets up
> an alias for "git status" using the simple rule:
>
> [alias]
>     st = status
>
> Yet, something is failing when I run it from the command line:
>
> $ git st
> [nothing happens]
> $ git status
> On branch 3.3-dev-davidd
> Your branch is ahead of 'origin/3.3-dev-davidd' by 2 commits.
> [... etc ...]
>
> Any ideas?

st is also a prefix of "stash".  Maybe it does not like aliases
that are prefixes of other commands?

Regards - EM

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019