git
时光在身后挡住去路
这个作者很懒,什么都没留下…
展开
-
how to fix GIT error: object file is empty?
我们在写git时经常碰到如下的errorerror: object file .git/objects/31/65329bb680e30595f242b7c4d8406ca63eeab0 is emptyfatal: loose object 3165329bb680e30595f242b7c4d8406ca63eeab0 (stored in .git/objects/31/65329bb转载 2016-10-14 20:44:23 · 3950 阅读 · 0 评论 -
git常用命令教程
master : 默认开发分支; origin : 默认远程版本库 初始化操作 $ git config -global user.name #设置提交者名字 $ git config -global user.email #设置提交者邮箱 $ git config -global core.editor #设置默认文本编辑器 $ gi转载 2016-10-14 20:54:23 · 357 阅读 · 0 评论 -
[Linux git]Linux下git push 不用每次输密码的方法
Linux下在~/下, touch创建文件 .Git-credentials,touch .git-credentialsvim .git-credentials编辑此文件,输入内容格式:https://{username}:{password}@github.com例如 https://zhang3:12345@github.com原创 2017-04-25 21:38:20 · 3233 阅读 · 0 评论 -
【Git】HttpRequestException encountered
HttpRequestException encountered解决方法网上查了一下发现是Github 禁用了TLS v1.0 and v1.1,必须更新Windows的git凭证管理器,才行。 https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/原创 2018-03-19 11:22:59 · 2424 阅读 · 0 评论