How to ignore [source path] related resources in EGit?

If I add related resources to the eclipse project as follows:

<linkedResources>
    <link>
        <name>[source path] src</name>
        <type>2</type>
        <locationURI>DOCUMENTS/Another_Project/src</locationURI>
    </link>
</linkedResources>

EGit shows all related files every time on the commit screen.

I tried various combinations of entries in .gitignore without success. By default, right-click Command → Ignore , add this line: / [source path] src to .gitignore, but it does not work.

Is there any way around this?

+5
source share
3 answers

We decided to manually edit the corresponding .gitignore files, for a more complete answer, please check my answer here answer question 3310129

0
source

EGit - Linked Resources, . eclipse 333338. . , , EGit , , , . EGit . .gitignore, , .

0

, , , ​​ EGit. ( ), , Eclipse .project:

<linkedResources>
  <link>
    <name>[source path] src</name>
    <type>2</type>
    <locationURI>DOCUMENTS/Another_Project/src</locationURI>
  </link>
</linkedResources>

, DOCUMENTS/Another_Project/src, .gitignore * **:

**/com/domain/module_name/some_package/

. ** , , / . , , reverse-dns, , , .

0

All Articles