Re: Don't share anything but those files

2012-07-17 Thread Nick Douma
Hoi, On 13-07-12 16:40, Yves Perron wrote: I'm wondering how to commit only selected files/folders on GIT, if even possible. Note, the ignore list is not a good option for me as I'd like to add a few files in a folder that contains many hundreds for instance. Basically, I'm looking for a

Re: Don't share anything but those files

2012-07-16 Thread Yves Perron
Greetings everyone, After investigation, the solution turns out to solve the problem partially. What is does is it update any existing files/folders already present but does not actually add new ones. So my question is, could the content of what to add be edited directly? Where is the actual

Re: Don't share anything but those files

2012-07-13 Thread Edward Toroshchin
On Fri, Jul 13, 2012 at 11:35:36AM -0400, Yves Perron wrote: Oh I see, thank you for your response, Can I put all the folders/files I want to add in a config file so I don't have to do this every time? Thx You won't have to do this every time. Once you add a file and commit it, git

Re: Don't share anything but those files

2012-07-13 Thread Yves Perron
Ok, let me rephrase, is there a way to edit a file where we can put every files/folders we need to add without the need of entering a command for each entry? On 7/13/2012 12:14 PM, Edward Toroshchin wrote: On Fri, Jul 13, 2012 at 11:35:36AM -0400, Yves Perron wrote: Oh I see, thank you for

Re: Don't share anything but those files

2012-07-13 Thread Taylor Hedberg
Yves Perron, Fri 2012-07-13 @ 13:40:56-0400: Ok, let me rephrase, is there a way to edit a file where we can put every files/folders we need to add without the need of entering a command for each entry? Sure, but you don't need functionality built in to Git to do this. Just list the paths you

Re: Don't share anything but those files

2012-07-13 Thread Illia Bobyr
On 7/13/2012 8:21 AM, Edward Toroshchin wrote: On Fri, Jul 13, 2012 at 10:59:55AM -0400, Yves Perron wrote: I'm wondering how to commit only selected files/folders on GIT, if even possible. Just git add only the files you need. If you want git to ignore all the rest, you can write '*' in

Re: Don't share anything but those files

2012-07-13 Thread Yves Perron
On 7/13/2012 2:08 PM, Illia Bobyr wrote: * !.gitignore !a_file_that_should_be_tracked !a_dir_to_track/ That is exactly what i was hoping for, thank you everyone! -- -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More