1、创建了本地git仓库:

右键项目——Team——share ——Create Repository——finish

 

Eclipse使用git提交本地项目到远程git仓库

2、将项目提交到本地仓库然后提交到远程git仓库

右键项目——Team——commit and push

 Eclipse使用git提交本地项目到远程git仓库

3、填写git的https地址和账户

4、Source ref和Destination ref选择refs/heads/master——Add Spec——勾选force update,不然提交空内容

Done

 

相关文章:

  • 2021-12-20
  • 2021-09-21
  • 2021-06-10
  • 2021-11-17
  • 2021-04-16
  • 2021-09-13
  • 2019-02-20
  • 2021-11-20
猜你喜欢
  • 2021-12-01
  • 2021-07-01
  • 2019-03-15
  • 2021-03-15
  • 2021-04-15
  • 2021-08-15
  • 2021-12-06
  • 2021-08-22
相关资源
相似解决方案