I was about to suggest the same because I often have this situation, also.  I 
need to commit a large number of files, except one or two which are still no 
ready for commit.

I’ve been thinking about what the simplest way from a user’s point of view 
would be, and I think if in the editor that comes up for putting a commit 
comment, and all the files are listed underneath, the ability to simply put a 
minus before that file you do NOT want, or maybe just delete that line 
altogether, that would be very easy.   It also allows to verify which files get 
committed and which not at the last moment, making whatever changes in case of 
mistakes.

On the command line, an –ignore option would also be nice for the case –m is 
also supplied in which case the editor is not entered at all.

From: Abilio Marques 
Sent: Friday, March 20, 2015 2:52 AM

>I've found myself in several other situations where I want to add everything 
>except 1 or 2 files... So a commit --ignore "these files" would become handy. 
>Specially because I can continue to do "complete" commits (of different files) 
>while ignoring the same two, by repeating the command line on history, no 
>changes at all, without having to think too much each time.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to