1.进入到当前目录
使用git bash进入到项目所在的目录

2.添加要上传文件

3.本地commit,同时加上描述信息

4.和github上面的项目同步

git push origin master:kidd
其中master为本地分支,kidd为服务器上的分支,如果不存在则在服务器中创建
使用git bash进入到项目所在的目录
其中master为本地分支,kidd为服务器上的分支,如果不存在则在服务器中创建
本文标题:gitLab项目同步
本文链接:https://www.haomeiwen.com/subject/grmvuttx.html
网友评论