摘要:
输入命令 >a.o git status 此时我想让git忽略这个文件的更新 输入命令 > .gitignore echo "a.o" >> .gitignore cat .gitignore git status 发现a.o文件没有出现在提示中,因为git会自动忽略.gitignore中的文件 忽 阅读全文
摘要:
状态 git status 可以知道有哪些文件被修改,哪些文件待提交 当前无待提交文件 分区 三个分区:工作区,缓存区,版本库 三个分区之间的联系: 工作区 >> git add >> 缓存区 >> git commit >> 版本库 输入命令 >a(新建文件夹a) git status 出现一个待 阅读全文
摘要:
>>>>Git简介 >>>>官网下载Git >>>>安装,一路next 安装成功后,鼠标右键里就有Git bash here和Git GUI here >>>>Git初始化及配置 运行Git bash 输入命令(盘符根据实际情况) cd /f mkdir android cd android ls 阅读全文