Git 解除上传文件大小的限制

class core{
	BOOL symlinks;
	BOOL autocrlf;
	BOOL fscache;
	BOOL diff;
	BOOL status;
	BOOL branch;
	BOOL interactive;
	//
	BOOL repositoryformatversion;
	BOOL filemode;
	BOOL bare;
	BOOL logallrefupdates;
	BOOL symlinks;
	BOOL ignorecase;
};class help{
	BOOL format;
};class rebase{
	BOOL autosquash;
};class http
	BOOL sslcainfo;
};
class diff{
	BOOL astextplain;
};class lfs{
	BOOL clean;
	BOOL smudge;
	BOOL required;
	BOOL process;
};class filter{
	BOOL lfs;
};class credential{
	BOOL helper;
};class user{
	BOOL name;
	BOOL email;
};class origin{
	BOOL url;
	BOOL fetch;
};class remote{
	BOOL origin;
};

core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
rebase.autosquash=true
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.required=true
filter.lfs.process=git-lfs filter-process
credential.helper=manager
user.name=XZM-CN-T-D-H-X
[email protected]
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
remote.origin.url=https://github.com/XZM-CN/T_D_H_X.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
							   branch.master.remote=origin
							   branch.master.merge=refs/heads/master
							   http.postbuffer=524288000

GitHub上传文件不能超过100M的解决办法

上传项目到GitHub上,当某个文件大小超过100M时,就会上传失败,因为默认的限制了上传文件大小不能超过100M。如果需要上传超过100M的文件,就需要我们自己去修改配置。
首先,打开终端,进入项目所在的文件夹;
输入命令:

Git config http.postBuffer 524288000


之前git中的配置是没有这一项的,执行完以上语句后输入
git config -l
可以看到配置项的最下面多出了一行我们刚刚配置的内容. (52428000=500×1024×1024,即500M)


http://blog.csdn.net/zxncvb/article/details/22153019

http://blog.csdn.net/u010545480/article/details/52995794


你可能感兴趣的:(windows,系统配置)