简体   繁体   English

在PhpStorm中使用Git

[英]Using Git in PhpStorm

I am using git as a VCS in PhpStorm. 我在phpStorm中将git用作VCS。 It seems to work fine. 似乎工作正常。 But when I change a file it does not show under Right click -> Git -> Show History 但是,当我更改文件时,它不会显示在Right click -> Git -> Show History

Am I missing a function or usability? 我是否缺少功能或可用性? When I do change a file the file and the above folder turn light blue in PhpStorm - when I save it goes away. 当我更改文件时,文件和上面的文件夹在PhpStorm中变成浅蓝色-保存时消失了。

Any ideas? 有任何想法吗?

Did you check if git is enabled for specific folder? 您是否检查了特定文件夹是否启用了git? Go to File > settings > Version control and make sure your project folder has git. 转到文件>设置>版本控制,并确保您的项目文件夹具有git。 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM