1. 如何reset自己本地的修改?
选中指定的返回版本,右键菜单选择“reset to this commit”, 然后选择hard 模式。
2. 如何解决两个分支间的conflict?
1. merge develop 到feature,首先merge A 到 B,修改conflict,然后提交。
2. merge feature 到develop,首先merge develop到feature,解决conflict问题,然后pull request,merge feature 到 develop
经典git教程:
http://git-scm.com/book/zh/v1
http://www.ruanyifeng.com/blog/2012/07/git.html
git 架构
git会有两个仓库,一个是remote repository,再远程服务器上,一个是local repository