有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

EclipseGit提交java文档

我正在GitHub上使用EGit

当我提交并将带有EGit的代码推送到GitHub时,它只显示没有javadoc的代码
EGit中是否有关闭此选项的首选项?(导出所有代码)

在Eclipse中:

http://www.xlp-now.de/webspace/stackoverflow/commitJavaDoc/IconLoaderEclipse.png

在GitHub中:

http://www.xlp-now.de/webspace/stackoverflow/commitJavaDoc/IconLoaderGitHub.png


共 (1) 个答案

  1. # 1 楼答案

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

    否:除非您有一个clean content filer(在.gitattributes文件中),否则文本文件将全部推送到GitHub

    {a2}报告{a3}解决了过滤器的问题:

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