Y
Hacker News
new
|
ask
|
show
|
jobs
by
pksunkara
69 days ago
I think the CLI is useful for pushing. What do you use to push all the rebased child branches?
1 comments
fphilipe
69 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.
link