On 15/05/2019 15:59, Michael wrote:
Is there a way to say "Only add files already known to git"?

Like a "git add -only-known"?

The idea is to update existing files, without adding new files.
from the 'git add --help' manual, note the 2nd paragraph.

-u
--update

   Update the index just where it already has an entry matching
   <pathspec>. This removes as well as modifies index entries to match
   the working tree, but adds no new files.

   If no <pathspec> is given when -u option is used, all tracked files
   in the entire working tree are updated (old versions of Git used to
   limit the update to the current directory and its subdirectories).

--

Philip

--
You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/4b05ac92-f7fb-0c00-87db-d72d9514a65c%40iee.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to