【问题标题】:intellij does not update version from content rootintellij 不会从内容根目录更新版本
【发布时间】:2014-05-19 21:15:31
【问题描述】:

我有一个关于 intellij 的项目,我在其中从一些外部模块添加了一些内容根。现在所有这些都是版本控制的。 (即它们都在svn中)。但是当想要检查添加的内容根目录的某些内容时(在编辑它们之后),intellij 不会向我显示这些文件的版本。任何线索我必须做​​什么?

提前致谢

【问题讨论】:

    标签: java svn version-control intellij-idea


    【解决方案1】:

    这就是答案:

    将目录与版本控制系统相关联

    Open the Version Control settings page. This page displays a table of directories and the version control systems associated with them.
    
    Note
    
    By default, the table contains only one row for the <Project Root>, with no version control system assigned to it.
    Click the Add button. The Add VCS Directory Mapping dialog box opens.
    Type the path to the desired directory, or click browseButton to the right of the Directory field and navigate to the desired directory.
    From the VCS list, select the version control system to be used for controlling files in this directory.
    
    Tip
    
    Optionally, click the Configure VCS button. The Version Control Configurations dialog box opens where you can configure settings for the selected version control system (see the corresponding configuration settings in the Version Control settings page reference for details).
    Click OK to save the mapping and return to the Version Control page.
    

    参考:http://www.jetbrains.com/idea/webhelp/associating-a-directory-with-a-specific-version-control-system.html

    感谢您的宝贵时间(阅读问题的人)

    【讨论】:

      猜你喜欢
      • 2012-08-09
      • 1970-01-01
      • 2022-01-18
      • 2015-12-23
      • 2020-09-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-15
      相关资源
      最近更新 更多