1 如图,将更新过的 index.html 文件提交到 gitlab
2 选中 index.html 右键单击 ---->Git ----> Commit File
3 弹出如下窗口,点击 Commit 按钮 即可。
4 点击Commit,如果是首次使用git,会弹出如下窗口,输入gitlab 账号 和 密码
此时,只是提交到本地,并未提交到gitlab上。
5 push 到 gitlab 上
VCS ----> Git ----> Push
6 Push 完后,在gitlab上就能看到我们提交过的index.html文件了,如图