Just make a branch and don't push that branch.  Do the stuff you want to
push in one branch, and the stuff you don't in another.  Merge the shared
branch into the unshared branch whenever you need to.

Or... if all the files are contained in one path, ignore that path in the
main repo.  Make a second repo inside that path.

On Mon, Mar 29, 2010 at 1:29 AM, tyler gillies <[email protected]> wrote:

> this might help
>
>
> http://stackoverflow.com/questions/2479162/git-exclude-specific-files-when-pushing-to-specific-repository
>
>
> On Mon, Mar 29, 2010 at 12:18 AM, brianp <[email protected]> wrote:
>
>> Hey,
>>
>> I've been using the Git basics for some time now and deploy rails apps
>> via Git. I often have a "workfiles" folder in my project folders. I'd
>> like to track this folder locally with git but when I push to
>> production or development environments I don't want this folder to go.
>> Is this possible?
>>
>> Cheers,
>> brianp
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "GitHub" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<github%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/github?hl=en.
>>
>>
>
>
> --
> Everyone Loves Tea
> http://www.everyonelovestea.com
>
>  --
> You received this message because you are subscribed to the Google Groups
> "GitHub" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<github%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/github?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to