在 GitKraken 中使用 CLion & PyCharm

Using CLion & PyCharm with GitKraken

有人使用过支持 Git 和 GitKraken 的 JetBrains 产品(CLion、PyCharm 等...)吗?我想使用 CLion & PyCharm 进行代码编辑和测试,并使用 GitKraken 进行 git 内容,但我担心更改 git 可能会导致 PyCharm & CLion.

JetBrains 开发人员的回答是:

That depends on how GitKraken works (sorry, never tried it). Technically, PyCharm/CLion's VCS support is a wrapper around the native command-line client (git, hg, e.t.c), so if GitKraken also uses the same native client and follows the standard protocol for the respective VCS, there shouldn't be any issues.

免责声明:我在下面描述的更像是有根据的猜测,而不是安全可靠的答案,但可能有助于提供一些见解。

GitKraken 不使用本机命令行,而是通过 nodeGit 与存储库交互。如所述 in the axosoft blog:

It works directly with your repositories with no dependencies—you don’t even need to have Git installed on your system. GitKraken is built with NodeGit, a Git framework that is primarily developed and maintained by members of the GitKraken development team

它也

follows the standard protocol for the respective VCS

并与其他 git 客户端(例如 git bash、VisualStudio 和 JetBrains Rider git 插件并行工作,没有问题,所以我期待它与您提到的框架一起正常工作。