qianxunman
git init # 先初始化
git remote add origin git@git.dev.tencent.com:xxx/xxx.git #添加远程仓库
git add *  # 文件加入版本控制
git commit -m \'init\' # 提交
git branch --set-upstream-to=origin/master  #关键步骤,If you wish to set tracking information for this branch you can do so with:
git pull --allow-unrelated-histories # 关键步骤,
git push orgin master # 推送到远程仓库

分类:

技术点:

相关文章:

  • 2021-11-26
  • 2022-12-23
  • 2021-11-17
  • 2021-11-19
  • 2021-09-27
猜你喜欢
  • 2022-01-07
  • 2021-11-25
  • 2022-01-15
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案