From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Stash Date: Wed, 08 Apr 2015 04:31:36 +0900 Message-ID: <87a8yjg2g7.fsf@uwakimon.sk.tsukuba.ac.jp> References: <86sice77h0.fsf@dod.no> <83h9stlnf9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1428435132 27212 80.91.229.3 (7 Apr 2015 19:32:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Apr 2015 19:32:12 +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 Tue Apr 07 21:32:05 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 1YfZEC-0006Qk-Bs for ged-emacs-devel@m.gmane.org; Tue, 07 Apr 2015 21:32:04 +0200 Original-Received: from localhost ([::1]:48492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfZEB-0006HY-N4 for ged-emacs-devel@m.gmane.org; Tue, 07 Apr 2015 15:32:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfZE8-0006HP-7T for emacs-devel@gnu.org; Tue, 07 Apr 2015 15:32:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfZE7-0004uo-Gb for emacs-devel@gnu.org; Tue, 07 Apr 2015 15:32:00 -0400 Original-Received: from shako.sk.tsukuba.ac.jp ([130.158.97.161]:39283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfZE2-0004pX-Vj; Tue, 07 Apr 2015 15:31:55 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by shako.sk.tsukuba.ac.jp (Postfix) with ESMTPS id 75A571C3875; Wed, 8 Apr 2015 04:31:37 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id D1CA4120EC9; Wed, 8 Apr 2015 04:31:36 +0900 (JST) In-Reply-To: <83h9stlnf9.fsf@gnu.org> X-Mailer: VM undefined under 21.5 (beta34) "kale" 83e5c3cd6be6 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 130.158.97.161 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:185106 Archived-At: Eli Zaretskii writes: > Git requires to use 2 commands to commit a change in a file: > > git add FILE > git commit FILE > > For files already registered with Git, you can use a single command > > git commit -a FILE You don't need the "-a", just "git commit FILE" is enough. ("git commit -a" (with or without file names) will stage all registered files that have been modified or deleted to the pending commit.) If you use "git add" to "stage" a file for committing, then you can further abbreviate to "git commit".