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 设置置于版本控制之下?
基础教程推荐
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- 尝试制作WhatsApp机器人 2022-01-01
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
