Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pksunkara
42 days ago
|
parent
|
context
|
favorite
| on:
GitHub Stacked PRs
I think the CLI is useful for pushing. What do you use to push all the rebased child branches?
fphilipe
42 days ago
[–]
My git config for pushing is set to push.default=current. For rebased stacks I have an alias that does this:
git --config push.default=matching push --force-with-lease --force-if-includes
In other words, I force push all branches that have a matching upstream by changing my config on the fly.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: