Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
imron
3 months ago
|
parent
|
context
|
favorite
| on:
Stacked Diffs with git rebase —onto
The capability is there.
Just use git rebase --update-refs ...
url00
3 months ago
[–]
Wow you aren't wrong, the first blog post on Google talking about this is exactly what this complicated method does just built-in.
imron
3 months ago
|
parent
[–]
To be fair --update-refs was only added in git 2.38 (released in 2022) so it’s likely that OPs workflow came about before this flag was introduced.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Just use git rebase --update-refs ...