如何将IntelliJ / Pycharm设置置于版本控制之下? [英] How to put IntelliJ/Pycharm settings under version control?

查看:308
本文介绍了如何将IntelliJ / Pycharm设置置于版本控制之下?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常使用PyCharm和其他一些JetBrains IDE。我尝试在不同的IDE中保持我的设置同步,但我现在正在考虑转向IntelliJ IDEA,并且发现我很难弄清楚我已经改变了什么以及我的不同设置文件之间的差异。



如何将我的PyCharm设置文件置于版本控制之下,以便我可以跟踪我的更改并快速恢复到旧版本,以便我可以毫不畏惧地尝试新的设置更改? / p>

(我不介意每次导出到特定的仓库,但似乎设置总是导出为JAR文件,这些文件不适合VCS。)

解决方案

我正在使用设置存储库插件可以同步PyCharm和PhpStorm之间的设置,并且它运行良好。它实际上是考虑到版本控制和团队共享而设计的,请参阅 github上的项目回购并构建支持冲突解决,合并和覆盖远程或本地。



它也支持文件系统,据我所知,存储的是镜像版本git存储库。


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.

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?

(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.)

解决方案

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.

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设置置于版本控制之下?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆