[Top][All Lists]

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

Re: [AUCTeX-devel] New release?

From: Nicolas Richard
Subject: Re: [AUCTeX-devel] New release?
Date: Sat, 20 Jul 2013 23:59:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Mosè Giordano <address@hidden> writes:
> `git add file' stages `file' for the next commit, then `git commit'
> actually commits all staged files.  So `git add ChangeLog ; git
> commit' should be equivalent to `cvs commit ChangeLog'.  `git commit
> -a' commits all tracked files, also non explicitly staged ones, but I
> don't think it's a good idea to use it.

FWIW git commit can also take explicit filenames to commit, as in
git commit -m "Great change" -- ChangeLog

from the man page:
    3. by listing files as arguments to the commit command, in which
       case the commit will ignore changes staged in the index, and
       instead record the current content of the listed files (which
       must already be known to git);


reply via email to

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