10 推荐免费 Git 仓库

2021-07-24  本文已影响0人  acc8226

Git 免费仓库

Gitee 开源中国-基于 Git 的代码托管和研发协作平台【推荐】
https://gitee.com/

CODING 代码托管 | 极速 Git 代码仓库服务
https://coding.net/products/repo

阿里云效 Codeup
https://codeup.aliyun.com/

腾讯工蜂
https://git.code.tencent.com/

GitHub【国内访问,可能很慢】
https://www.github.com/

Git 仓库上传大文件

根据 2019 年的统计数据,如果简单使用 git 来上传大文件的话,也不是不可以。

coding 提供了 文件网盘功能,普通用户提供了高达 30GB 的容量。


使用 Git LFS 上传大文件

下载和安装 Git LFS

让本地新仓库支持 Git LFS

# 初始化一个仓库
$ mkdir big-repo
$ cd big-repo 
$ git init
Initialized empty Git repository in /Users/dyrone/big-repo/.git/
# 让仓库支持LFS
$ git lfs install
Updated pre-push hook.
Git LFS initialized.
# install成功后,仓库的pre-push钩子将被替换和生效

想了解更多 Git Large File Storage 的内容,可以参考 https://git-lfs.github.com/

上一篇 下一篇

猜你喜欢

热点阅读