随笔分类 - 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的换行
阅读全文
摘要:新建一个分支 git branch newBranch 检查分支是否创建成功 git branch 切换到新建的分支 git checkout newBranch 将改动提交到新分支 git add .git commit -m "the new branch" 然后git status检查是否提交
阅读全文
摘要:0.新建工作目录 1.初始化 设置用户名和邮箱: git config --global user.name "在这里添加Your name" git config --global user.email "在这里添加Your email 查看设置: git config --list 2.创建gi
阅读全文

浙公网安备 33010602011771号