2016年5月6日
摘要: git 远程操作详解 .git文件:版本库区域 refs heads:分支管理 master remotes:主机名管理 demo origin HEAD ref: refs/remotes/origin/master master 1b2d350606821fd90952038bf0b66fdad 阅读全文
posted @ 2016-05-06 14:23 借个火点烟 阅读(279) 评论(0) 推荐(0) 编辑
摘要: git 的配置项 1:配置用户名 git config global user.name "xxx" 2:配置邮箱 git config global user.email "xxx@qq.com" 3:配置颜色 git config global color.ui true 4:配置,命令别名 g 阅读全文
posted @ 2016-05-06 10:56 借个火点烟 阅读(190) 评论(0) 推荐(0) 编辑
摘要: git 中的忽略文件:.gitignore 在实际开发中,项目里会有一些文件是没必要提交到远程仓库,如果手动操作,会很麻烦,所以git提供了一个.gitignore文件来吧这些文件过滤 1:创建.gitignore vi .gitignore 2:输入过滤的文件 eg: .json 3:把该文件提交 阅读全文
posted @ 2016-05-06 10:41 借个火点烟 阅读(256) 评论(0) 推荐(0) 编辑