Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsTeam->Share Project->Git sometimes doesn't create .gitignore in project root
https://www.eclipse.org/forums/index.php/mv/msg/781515/1385125/#msg_1385125
I just Team->Share Project->Git for a lot of plug-in projects. The
projects were located in the workspace and the share operation moves
them to the git repo and reconnects them to the workspace. Now, for most
of the projects, EGit seems to create a .gitignore (Containing one line
bin/, great). Now the strange thing is that for some of the projects the
..gitignore file is not created. I try to find out why. Hints?
Thanks
Felix]]>Felix Dorner2014-06-04T13:20:06-00:00Re: Team->Share Project->Git sometimes doesn't create .gitignore in project root
https://www.eclipse.org/forums/index.php/mv/msg/781515/1385129/#msg_1385129
> Hi,
>
> I just Team->Share Project->Git for a lot of plug-in projects. The
> projects were located in the workspace and the share operation moves
> them to the git repo and reconnects them to the workspace. Now, for most
> of the projects, EGit seems to create a .gitignore (Containing one line
> bin/, great). Now the strange thing is that for some of the projects the
> .gitignore file is not created. I try to find out why. Hints?
Here's one: When I initially imported the projects into the workspace,
some of them come with a bin folder, some don't. If the bin folder
exists prior to importing the project, the .gitignore file isn't
created. So there seems to be some 'clever' logic that differentiates
between different kinds of 'bin' folders.
Felix]]>Felix Dorner2014-06-04T13:25:32-00:00Re: Team->Share Project->Git sometimes doesn't create .gitignore in project root
https://www.eclipse.org/forums/index.php/mv/msg/781515/1385134/#msg_1385134
> On 04/06/2014 15:20, Felix Dorner wrote:
>> Hi,
>>
>> I just Team->Share Project->Git for a lot of plug-in projects. The
>> projects were located in the workspace and the share operation moves
>> them to the git repo and reconnects them to the workspace. Now, for most
>> of the projects, EGit seems to create a .gitignore (Containing one line
>> bin/, great). Now the strange thing is that for some of the projects the
>> .gitignore file is not created. I try to find out why. Hints?
>
> Here's one: When I initially imported the projects into the workspace,
> some of them come with a bin folder, some don't. If the bin folder
> exists prior to importing the project, the .gitignore file isn't
> created. So there seems to be some 'clever' logic that differentiates
> between different kinds of 'bin' folders.
Manually marking the 'bin' folders as derived creates the .gitignore
file. Happy clicking.
Felix]]>Felix Dorner2014-06-04T13:58:52-00:00Re: Team->Share Project->Git sometimes doesn't create .gitignore in project root
https://www.eclipse.org/forums/index.php/mv/msg/781515/1385448/#msg_1385448
You may try to run a complete rebuild from scratch in Eclipse to provoke resending these events.