Team->Share Project->Git sometimes doesn't create .gitignore in project root [message #1385125] |
Wed, 04 June 2014 09:20  |
Eclipse User |
|
|
|
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?
Thanks
Felix
|
|
|
|
Re: Team->Share Project->Git sometimes doesn't create .gitignore in project root [message #1385134 is a reply to message #1385129] |
Wed, 04 June 2014 09:58   |
Eclipse User |
|
|
|
On 04/06/2014 15:25, Felix Dorner wrote:
> 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.04270 seconds