第一次使用git的方法,如建立的项目名叫:my-webapp
 
第一步:在远程gitlab上建立空白项目:my-webapp
第二步:在本地建立项目my-webapp,添加代码
第三步:创建一个本地仓库,VCS->Import into Version Control->Create Git Repository
[git]使用Idea创建一个git项目
第四步:将项目commit到本地仓库:右键项目根目录->git->Commit Directory...
[git]使用Idea创建一个git项目
第五步:push项目到远程仓库:右键项目根目录->git->Repository->Push...
[git]使用Idea创建一个git项目

相关文章:

  • 2021-07-22
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
  • 2021-10-06
  • 2021-06-25
  • 2022-02-07
  • 2022-02-07
猜你喜欢
  • 2022-01-11
  • 2021-12-24
  • 2021-04-02
  • 2021-07-07
  • 2022-02-07
  • 2021-12-04
  • 2021-06-06
相关资源
相似解决方案