Git
马克力
人生最重要的是选择,一旦选择,就要坚持。
展开
-
解决git上传单个大文件的限制
解决git上传单个大文件的限制,亲测有效! *如果你之前commit了 需要你使用 git reset --hard <commit_id>命令回退到没有报错的那个版本,然后再执行下面的操作 【第一步】 需要用到一个叫lfs的工具专门用来上传大文件的!!! 下载链接:https://github.com/git-lfs/git-lfs/wiki/Installation 【第二步】 下...原创 2019-11-13 16:55:31 · 1742 阅读 · 0 评论 -
如何用Git命令上传文件或目录
1.Clone 所有资源 git clone https://gitlab.com/xxxxxx/XXXSource.git 2.Add当前操作目录的以下文件 git add *.docx *.doc *.zip 3.或者Add当前操作目录下的以下目录 git add foldname foldname1 foldname2 4.Commit并且写上注释 git commit -m “这里写Com...原创 2019-11-11 17:12:09 · 1152 阅读 · 0 评论