wil*_*ler 12 git branch rebase
Okay I almost have this rebase thing figured out.
I can feel a breakthrough coming - here is the tipping point:
How do I do a rebase to go from:
A - - B - - C - - D - - E (HEAD)
|
\ - - F - - G (branch1)
Run Code Online (Sandbox Code Playgroud)
To:
A - - B - - C - - D - - E (HEAD)
|
\ - - F - - G (branch1)
Run Code Online (Sandbox Code Playgroud)
I don't just want to merge HEAD~1 into branch1, I think I want to rebase branch1 right?
I feel like I almost grok this - help!?
Mic*_*zek 16
这是一个标准rebase,没有什么棘手的事情发生.你想要:
git checkout branch1
git rebase D
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5848 次 |
| 最近记录: |