(1)本地初始化: git init

(2)添加远程仓库: git remote add origin git@IP:relativeDir.git,添加完成后会在本地.git/config文件中看到添加的url,也可以修改这个url

(3)拉取远程代码: git pull origin master (origin 是上面定义远程仓库的名字, master是默认的主分支)

相关文章:

  • 2021-10-03
  • 2022-12-23
  • 2021-10-12
  • 2021-07-25
  • 2021-07-31
  • 2021-09-21
  • 2022-01-14
  • 2021-12-06
猜你喜欢
  • 2021-05-27
  • 2022-12-23
  • 2021-08-17
  • 2021-09-18
  • 2021-08-11
  • 2021-12-22
相关资源
相似解决方案