Skip to content

Commit 0c7959d

Browse files
committed
试试
1 parent 63b1a9f commit 0c7959d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

常见问题.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515

1616
##### 合并
1717
- `git pull --rebase origin dev` 拉取所有上游提交命令到小红的本地仓库,并尝试和她的本地修改合并
18-
- `git rebase --abort` 发现冲突,无法解决时,回到pull 之前的状态
19-
- `git diff` 显示冲突部分
18+
2019
- `git merge tool` 引导解决冲突
2120

2221
- `git rebase branchname`衍合某一个分支
@@ -68,8 +67,7 @@
6867

6968
#### 注意
7069
- 本机和远程的相同分支使用rebase。如果是不同分支的合并则必须用merge,否则会导致历史记录不可读,因为再也找不到合并之前各个分支到底是在哪里[地址](http://www.toobug.net/article/git_and_gitflow.html)
71-
- 多提交commit ,功能没写完也可提交,最后要push的时候再 --amend一下就行<只能修改最后一次commit>
72-
- 合并多个commit, `git reset HEAD~3`,`git add .`,`git commit -m`
70+
7371

7472

7573
- expr (void)NSLog(@"shopname=%@,shopAddress=%@",shop.title,shop.address) 条件断点打印多个变量值

0 commit comments

Comments
 (0)