Mosè Giordano <[email protected]> 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);

-- 
Nico.


_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to