ay, don't share anything but those
files.
thx
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
ay, don't share anything but those
files.
thx
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
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 your
.gitignore
--
Edward "Hades" Toroshchin
d
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,
g
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 y
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 yo
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 '
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 ma
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
asically, I'm looking for a way to say, don't share anything but those
> files.
I would use a .gitignore with something like:
cat < .gitignore
# Ignore everything
*
# Except
!/.gitignore
!/path/to/file/1
!/path/to/file/2
EOF
Only the two specified files and the .gitignore file s
10 matches
Mail list logo