前提:
1、已经成功安装 git;
2、将 phpstrom 和 gitlab 连接起来。参考此文章
一、在 phpstrom 中打开需要推送的项目
二、将代码 添加到 git
三、拉代码
四、提交代码
五、推代码
OK啦~