Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mhw
34 days ago
|
parent
|
context
|
favorite
| on:
Stacked Diffs with git rebase —onto
Yeah, you need to rebase the tip of the feature branch stack. git will then update all the refs that point to ancestor commits that are moved. So in this case
$ git rebase --update-refs main feature-2
ptx
34 days ago
[–]
Thanks! Yup, that does the trick.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: