(1)使用命令行(Git Bash)在gitlab上新建项目的流程
//进入项目目录下:
C:Userswuwy>cd D:workspaceeclipseH5Patient//进不去,输入一下d盘,进去了: C:Userswuwy>d: //进入项目目录下,输入git init,初始化一下: D:workspaceeclipseH5Patient>git init //把所有项目拉入git管理下: D:workspaceeclipseH5Patient>git add . //git commit提交,注意是“”,不是‘’ D:workspaceeclipseH5Patient>git commit -m "first commit " //让git 远端服务器把origion关联到http://10.1.9.205/yilian/h5patient.git 上: D:workspaceeclipseH5Patient>git remote add origin http://10.1.9.205/yilian/h5 patient.git //git把origion push到服务器上: D:workspaceeclipseH5Patient>git push -u origin master |