摘要:
常用命令: 添加到暂存区 git add <filename> 删除 git rm <filename> 更名 git mv <oldname> <newname> 查看不同 git diff 查看日志 git log 查看命令历史 git reflog 撤销未提交的文件内容 git check - 阅读全文
摘要:
系统:Ubuntu 1,安装配置 查看是否安装 git 安装 创建进入目录git mkdir git cd git/ 2,创建仓库 创建文件 touch demo.txt 3,添加到暂存区 git add [file] 4,提交到当前分支 遇到问题 解决方法 设置邮箱用户名 git config - 阅读全文