github的large file storeage

https://git-lfs.github.com/

1.从这个网址下载git-lfs-windows-amd64-1.1.0.exe,运行这个安装包

2.然后打开git bash

输入git lfs install

3.根据需求来处理大文件

$ git lfs track "*.wav"
Tracking *.wav

$ git lfs track "*.asset"
Tracking *.asset

这2个命令会在对应的目录下生成不同的.gitattributes文件

简直是给跪了,里面有2个超过10M的文件,居然push上去了

$ git push
Username for ‘https://github.com‘: chucklu
Password for ‘https://[email protected]‘:
Counting objects: 563, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (549/549), done.
Writing objects: 100% (551/551), 29.73 MiB | 74.00 KiB/s, done.
Total 551 (delta 197), reused 0 (delta 0)
To https://github.com/chucklu/Tanks-Tutorial.git
6f935a1..121b1ee master -> master

时间: 2024-11-05 11:33:55

github的large file storeage的相关文章

Java – Reading a Large File Efficiently--转

原文地址:http://www.baeldung.com/java-read-lines-large-file 1. Overview This tutorial will show how to read all the lines from a large file in Java in an efficient manner. This article is part of the “Java – Back to Basic” tutorial here on Baeldung. 2. R

Read a large file with python

python读取大文件 较pythonic的方法,使用with结构 文件可以自动关闭 异常可以在with块内处理 with open(filename, 'rb') as f: for line in f: <do someting with the line> 最大的优点:对可迭代对象 f,进行迭代遍历:for line in f,会自动地使用缓冲IO(buffered IO)以及内存管理,而不必担心任何大文件的问题. There should be one – and preferably

深度学习动手入门:GitHub上四个超棒的TensorFlow开源项目

作者简介:akshay pai,数据科学工程师,热爱研究机器学习问题.Source Dexter网站创办人. TensorFlow是Google的开源深度学习库,你可以使用这个框架以及Python编程语言,构建大量基于机器学习的应用程序.而且还有很多人把TensorFlow构建的应用程序或者其他框架,开源发布到GitHub上. 这次跟大家分享一些GitHub上令人惊奇的TensorFlow项目,你可以直接在你的应用中使用,或者根据自身所需进一步予以改进. TensorFlow简介 如果你已经知道

GH001 on github

remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.remote: warning: See http://git.io/iEPt8g for more information.remote: warning:  is 51.93 MB; this is larger than GitHub's recommend

File System Design Case Studies

SRC=http://www.cs.rutgers.edu/~pxk/416/notes/13-fs-studies.html Paul Krzyzanowski April 24, 2014 Introduction We've studied various approaches to file system design. Now we'll look at some real file systems to explore the approaches that were taken i

Extension of write anywhere file system layout

A file system layout apportions an underlying physical volume into one or more virtual volumes (vvols) of a storage system. The underlying physical volume is an aggregate comprising one or more groups of disks, such as RAID groups, of the storage sys

Read Large Files in Python

I have a large file ( ~4G) to process in Python. I wonder whether it is OK to "read" such a large file. So I tried in the following several ways: The original large file to deal with is not "./CentOS-6.5-i386.iso", I just take this fil

使用git把项目上传到github上

常用的命令: git init  在当前目录新建一个Git代码库 git add [file1] [file2].....  添加指定文件到暂存区 git add . 添加当前目录的所有文件到暂存区 git commit -m [message] 提交暂存区到仓库区 git commit [file1] [file2]...-m [message]提交暂存区指定文件到仓库区 git push 上传本地库内容到远程仓库 git pull 取回远程库的最新内容,与本地库合并更新 git status

[Next] Next.js+Nest.js实现GitHub第三方登录

GitHub OAuth 第三方登录 第三方登录的关键知识点就是 OAuth2.0 . 第三方登录,实质就是 OAuth 授权 . OAuth 是一个开放标准,允许用户让第三方应用访问某一个网站的资源,而不需要提供账号和密码. 总体就是:myapp <===> user <===> github 授权的总体流程 用户进入到我的网站,我想要获取到用户的 GitHub 信息 跳转到 GitHub 授权页面,然后问用户是否允许我获得他的信息,授予权限 同意,我的网站会获得 GitHub