1.在远程git仓库创建对应的项目;

2.用命令行生成本地的ssh key;

3.把公钥粘贴远程仓库对应的位置;

4.SourceTree 设置远程仓库的地址;

5.把本地对应的分支推送到远程仓库;

注意:1.http buffer如果设置得过小,无法传输大文件;

   2.ssh客户端选择openssh,不要选择putty/plink;

    SourceTree 将本地已有的git项目推送到远程git仓库

   3.出现不能超过100M的文件大小限制,可用bfg工具清除大文件,具体参考:https://rtyley.github.io/bfg-repo-cleaner/

   据说也可用git-filter-branch解决,参考:https://jk.gs/git-filter-branch.html

 

相关文章:

  • 2022-12-23
  • 2021-06-25
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2021-08-27
  • 2021-10-20
猜你喜欢
  • 2022-02-07
  • 2021-04-05
  • 2022-02-09
  • 2021-10-21
  • 2021-10-10
  • 2021-08-10
相关资源
相似解决方案