How to put IntelliJ/Pycharm settings under version control?(如何将 IntelliJ/Pycharm 设置置于版本控制之下?)
问题描述
我是 PyCharm 和许多其他 JetBrains IDE 的常客.我尝试让我的设置在不同的 IDE 之间保持同步,但我现在正在考虑迁移到 IntelliJ IDEA,我发现很难弄清楚我所做的更改以及不同设置文件之间的差异.
I'm a frequent user of PyCharm and a number of the other JetBrains IDEs. I try to keep my settings synchronized across the different IDEs, but I'm now considering moving to IntelliJ IDEA and am finding it extremely difficult to figure out what I've changed and what the differences are among my different settings files.
我如何将我的 PyCharm 设置文件置于版本控制之下,以便我可以跟踪我的更改并快速恢复到旧版本,以便我可以放心地尝试新的设置更改?
How can I put my PyCharm settings files under version control so that I can track my changes and also quickly revert back to old versions so I can try out new settings changes without fear?
(我不介意每次都导出到特定的仓库,但设置似乎总是导出为 JAR 文件,不适合 VCS.)
(I don't mind exporting to a specific repo each time, but it seems that the settings always export as JAR files, which don't lend themselves to VCS.)
推荐答案
我正在使用 Settings Repository 用于在 PyCharm 和 PhpStorm 之间同步设置的插件,它运行良好.它实际上在设计时考虑了版本控制和团队共享,请参阅 github 上的项目 repo 并已构建支持冲突解决、合并和覆盖远程或本地.
I am using the Settings Repository plugin to syncronize settings between PyCharm and PhpStorm and it is working very well. It is actually designed with version control and team sharing in mind, see project repo on github and have built in support for conflict resolution, merge and overwriting remote or local.
它还支持文件系统,据我所知,它存储的是 git 存储库的镜像版本.
It does also support file system and, from what I can tell, what then is stored is the mirror version of the git repository.
这篇关于如何将 IntelliJ/Pycharm 设置置于版本控制之下?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何将 IntelliJ/Pycharm 设置置于版本控制之下?


基础教程推荐
- 求两个直方图的卷积 2022-01-01
- 修改列表中的数据帧不起作用 2022-01-01
- 使用大型矩阵时禁止 Pycharm 输出中的自动换行符 2022-01-01
- Plotly:如何设置绘图图形的样式,使其不显示缺失日期的间隙? 2022-01-01
- 在Python中从Azure BLOB存储中读取文件 2022-01-01
- 无法导入 Pytorch [WinError 126] 找不到指定的模块 2022-01-01
- PANDA VALUE_COUNTS包含GROUP BY之前的所有值 2022-01-01
- 在同一图形上绘制Bokeh的烛台和音量条 2022-01-01
- 包装空间模型 2022-01-01
- PermissionError: pip 从 8.1.1 升级到 8.1.2 2022-01-01