Cedric van den Berg Cedric van den Berg - 1 year ago 72
Git Question

EGit - Committing java documentation

I'm using EGit with GitHub.

When I commit and push the code with EGit to GitHub it shows only the code without the javadoc.

Is there a preference in EGit to turn this off? (to export all of the code)

In Eclipse:


In GitHub:


Answer Source

Is there a preference in egit to turn this off? (to export all of the code)

No: unless you have a clean content filer (in a .gitattributes files), and text file will be pushed in its entirety to GitHub.

The OP Cedric van den Berg reports in the comments solving the issue with the filters:

$ git config --global filter.indent.clean indent
$ git config --global filter.indent.smudge cat