1. 在gitlab页面,创建project,会产生git的项目url地址

eclipse中,第一次上传python代码到gitlab

 

2. 在gitlab页面创建好的project,随便创建一个文件,为了让此项目不为空,这样方便和eclipse建立关系:

eclipse中,第一次上传python代码到gitlab

如下,随便一个叫做test的文件,commit changes 提交

eclipse中,第一次上传python代码到gitlab

3. eclipse中新建django项目,查看项目路径是D:\develop\m3Space\m3

eclipse中,第一次上传python代码到gitlab

4. 在eclipse中,在git repository窗口(如果没有此窗口,在eclipse的窗口window---show view,选中git repository),右键

选择pull,然后填写gitbra的地址为项目所在的地址(比如我的项目地址是D:\develop\m3Space\m3)

再填写branch名字 master,即eclipse和gitlab建立了上传下载的关系

eclipse中,第一次上传python代码到gitlab

 

 

 

 

 

相关文章:

  • 2022-12-23
  • 2021-06-18
  • 2021-08-31
  • 2021-12-29
  • 2021-10-05
  • 2021-05-03
  • 2022-01-19
  • 2021-09-25
猜你喜欢
  • 2021-04-20
  • 2021-12-25
  • 2021-07-26
  • 2022-12-23
  • 2021-04-16
  • 2021-04-24
相关资源
相似解决方案