
git-github
爆发的~小宇宙
github地址:https://github.com/ordinary-zhang?tab=repositories
展开
-
Git常用命令
创建版本库选择一个合适的位置创建一个空目录: $ mkdir learngit通过git init命令把这个目录变成Git可以管理的仓库 :$ git init将文件添加到版本库现在我们编写一个readme.txt文件,内容如下: Git is a version control system. Git is free software....原创 2017-12-01 16:51:38 · 234 阅读 · 0 评论 -
The file will have its original line endings in your working directory.
错误描述在使用git提交的时候出现The file will have its original line endings in your working directory.错误,后来发现 自己再提交的时候忘记输入git add 上传的文件 出现了上面的错误,需要下面进行修改:1 git rm -r -f --cached ./ (删除缓存)2 git add . (添加该目录下...原创 2018-07-29 15:54:41 · 17620 阅读 · 4 评论