Thread (10 messages) flat view 10 messages, 5 authors, 2016-06-15

Re: How to "git add ." when some files are not accessible (permission denied)?

From: Alex Riesen <hidden>
Date: 2016-06-15 22:44:19

Dirk Süsserott, Sat, Mar 01, 2008 14:46:28 +0100:
Or, more generally spoken: can I tell "git add" to add only those files it 
can handle and ignore the rest? The "-f" switch doesn't work and some
exclude lists on a per file basis are not applicable for my purpose as I
don't know the files in advance.
Well, "-f" means something else (include the ignored files). It is
unfortunate, because (I think) your case fits better its traditional
meaning...

You can try the following patches, which add "--ignore-errors" to
git-add. Maybe it will be enough... It is generally considered
not safe to ignore errors.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help