随笔分类 -  Git

摘要:warning: LF will be replaced by CRLF in about/index.html.The file will have its original line endings in your working directory 原因是存在符号转义问题;windows的换行 阅读全文
posted @ 2020-02-24 11:37 尘归风 阅读(643) 评论(0) 推荐(0)
摘要:git stash -u 阅读全文
posted @ 2020-01-05 10:58 尘归风 阅读(300) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-04 17:32 尘归风 阅读(546) 评论(0) 推荐(0)
摘要:新建一个分支 git branch newBranch 检查分支是否创建成功 git branch 切换到新建的分支 git checkout newBranch 将改动提交到新分支 git add .git commit -m "the new branch" 然后git status检查是否提交 阅读全文
posted @ 2019-12-03 11:33 尘归风 阅读(93) 评论(0) 推荐(0)
摘要:0.新建工作目录 1.初始化 设置用户名和邮箱: git config --global user.name "在这里添加Your name" git config --global user.email "在这里添加Your email 查看设置: git config --list 2.创建gi 阅读全文
posted @ 2019-10-26 12:11 尘归风 阅读(107) 评论(0) 推荐(0)