From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.devel Subject: Re: Stash Date: Mon, 06 Apr 2015 09:55:54 +0200 Message-ID: <55223C0A.4080804@math.ntnu.no> References: <86sice77h0.fsf@dod.no> <83iod9lnp0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1428306982 8451 80.91.229.3 (6 Apr 2015 07:56:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Apr 2015 07:56:22 +0000 (UTC) Cc: sb@dod.no, rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 06 09:56:19 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yf1tJ-0008AU-QN for ged-emacs-devel@m.gmane.org; Mon, 06 Apr 2015 09:56:17 +0200 Original-Received: from localhost ([::1]:39094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yf1tE-00030R-9L for ged-emacs-devel@m.gmane.org; Mon, 06 Apr 2015 03:56:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yf1t2-00030A-3o for emacs-devel@gnu.org; Mon, 06 Apr 2015 03:56:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yf1t1-0005Hu-Ab for emacs-devel@gnu.org; Mon, 06 Apr 2015 03:56:00 -0400 Original-Received: from hylle06.itea.ntnu.no ([2001:700:300:3::235]:51529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yf1sz-0005HK-Pc; Mon, 06 Apr 2015 03:55:57 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hylle06.itea.ntnu.no (Postfix) with ESMTP id 4331C66ACE6; Mon, 6 Apr 2015 09:55:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle06.itea.ntnu.no Original-Received: from [IPv6:2001:4662:4ffb::f503:5dea:c284:c20f] (unknown [IPv6:2001:4662:4ffb:0:f503:5dea:c284:c20f]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle06.itea.ntnu.no (Postfix) with ESMTPSA id B3FF7661023; Mon, 6 Apr 2015 09:55:55 +0200 (CEST) User-Agent: Postbox 3.0.11 (Macintosh/20140602) In-Reply-To: <83iod9lnp0.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:700:300:3::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185012 Archived-At: Eli Zaretskii wrote: > There's no alternative here but to learn to use a different command > for showing that: > > git status --short > > It should produce approximately the same display as you are used to > with CVS: > > M modified-file1 > M modified-file2 > ?? unregistered-file1 But note that there are *two* flag characters at the beginning of each=20 line: One for what's in the index, and the second for the file in the=20 work tree. I find it useful to add --branch to the flags. And I find it extremely useful to employ git's aliasing mechanism: ; git config --global alias.s 'status --short --branch' ; git help s `git s' is aliased to `status --short --branch' ; git s ## master...origin/master ; Make your own shortcuts to often used commands this way. It makes your=20 life simpler, at the possible expense of making it harder to explain=20 your actions to others. (Just include the necessary =E2=80=9Cgit help=E2=80= =9D commands=20 if you need to explain what you have been doing.) =E2=80=93 Harald