phpStorm中集成GIT

如何将GIT集成到PHPSTORM使用
一、下载软件Git-2.7.4-64-bit.exe
https://git-for-windows.github.io/
https://github-cloud.s3.amazonaws.com/releases/23216272/a941d880-ecd8-11e5-971f-1054bbae2d78.exe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20160325%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20160325T044504Z&X-Amz-Expires=300&X-Amz-Signature=f4eb55c0289aa0ac06c15fd3602e86723f1efc377b8e41241dbe1b70208c15c2&X-Amz-SignedHeaders=host&actor_id=17979892&response-content-disposition=attachment%3B%20filename%3DGit-2.7.4-64-bit.exe&response-content-type=application%2Foctet-stream

二、默认一切安装完成,启动

三、修改PHPSTORM配置

Files->settings->version control->Git->path to executable:    C:\Program Files\Git\bin\git.exe

点击Test测试,OK

四、远程牵出文件到PHPSTORM

VCS->Checkout from Version Control->Git

它会自动创建D:\wwwroot目录,然后克隆远程的版本库到本地wwwroot项目目录:

点击clone,一定要等项目全部都导到本地完,它会自动弹出窗口类似“successfully”  “open with new window”单击ok,yes

上传更新时,点击右上方vcs   (这里用的是eclips shortcut,所以会出现在这里)提交

记得一定要点commit and Push

这里SVN最大的不同,Commit只是提交到本地复本,要多一步push才能提交更新到github远程端版本库。


转载地址:https://blog.csdn.net/lz610756247/article/details/71454224


猜你喜欢

转载自blog.csdn.net/qq_29947967/article/details/80510051
今日推荐