git - Intellij 下 同步项目后再打开 服务器问题
大家讲道理
大家讲道理 2017-04-25 09:04:13
0
2
696

环境 : Intellij IDEA
项目中在 Intellij 开发平台上用 Maven来开发管理项目。
版本控制工具是 Git

现在写好的 项目,若有人推送,其他再去同步下,然后打开,很多东西得重新配置。sdk 或者 tomcat 都需重新去指定,即会 "冲掉" 你之前的配置/环境。

推送的项目中 包括 : ×××.iws ×××.ipr

也尝试把这些额外的东西都删除干净,用导入的方式,但这种也需要去重新去配置环境

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
我想大声告诉你

What you configure is the project environment, which means that if you change projects or create a new project, you need to reconfigure it. What you should configure now is the idea environment, not the project environment. The idea environment has an option setting when you open it for the first time, so you don’t have to reconfigure it whether you are importing a project or adding a new project

Ty80

You must have synchronized some of IntelliJ's own configuration files to Git. Set it up so that only the source code is synchronized and those configuration files are ignored.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template