摘要: 参考: https://github.com/github/gitignore : 包含了不同语言下的.gitignore https://www.gitignore.io/ : 该网站会根据特定的项目,生成系统所需要的.gitignore 主要有两种方式: 1. 修改本地库下的 .git/info 阅读全文
posted @ 2019-04-17 22:36 Code~ 阅读(617) 评论(0) 推荐(0) 编辑
摘要: config相关 账号密码相关 获取SSH key 克隆 查看状态 添加 重命名 删除 撤销本地修改 提交 本地仓库同步到远程仓库 更新远程仓库到本地 大概流程图: 分支相关 mac查看分支相关 本地分支合并相关 本地分支删除相关 阅读全文
posted @ 2019-04-17 22:27 Code~ 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Your branch is ahead of 'origin/master' by 1 commit 原因在于你的本地分支高于远程仓库一次提交, 解决方式: warning: LF will be replaced by CRLF in main.lua The file will have it 阅读全文
posted @ 2019-04-17 22:12 Code~ 阅读(1060) 评论(0) 推荐(0) 编辑