[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stash

From: Stephen J. Turnbull
Subject: Re: Stash
Date: Wed, 08 Apr 2015 04:31:36 +0900

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]