Skip to content

Latest commit

 

History

History
69 lines (55 loc) · 4.33 KB

git的一些坑.md

File metadata and controls

69 lines (55 loc) · 4.33 KB
title date tags layout
git的一些坑
2016-10-09 07:09:00 -0700
draft

weibo的git使用笔记。

Git远程操作详解 Git 使用规范流程 git rebase 阮一峰 谷歌搜索 Error:cannot pull with rebase:you have unstated changes you have unstated changes git workflow 常用命令 多人协作 分支管理策略 管理修改

探索.git目录

git diff

(谷歌)diff 原理 Diff 算法的原理是什么, 怎样学习和理解? diff程序的算法 读懂diff(阮一峰) Interpreting git diff -cc[was:merge conflict] git diff --cc 怎么读 sublime diff 20 个强大的 Sublime Text 插件

#git push --force 的使用场景 git checkout -b dev git add -all git checkout master

initialization后,从未git commit ,checkout后git branch --list 也看不到自己的分支。如何在git里撤销几乎任何操作

#文件的命名不要带有/ windows下不接受这种命名 导致git pull 后git rm,永远无法和remote repository保持一致。 这个时候可能一定会遇到push force问题。(由于是没用的文件,我直接舍弃了该文件。)

##git push --force 的使用场景 push错误后, git 怎样删除远程仓库的某次错误提交? push后撤销

Why are my commits linked to the wrong user?

##常规步骤 起步 - 初次运行 Git 前的配置 Set Up Git Generating a new SSH key and adding it to the ssh-agent MERGE STRATEGIES 准备合并dev分支,请注意--no-ff参数,表示禁用Fast forward: ''' $ git merge --no-ff -m "merge with no-ff" dev Merge made by the 'recursive' strategy. readme.txt | 1 + 1 file changed, 1 insertion(+) ''' 分支管理策略