News for hackers. Stuff that matters.
Re:Highlights from Git 2.34 by avar on Tuesday November 16, 2021 @06:28PM (#29247581)
You can set "upstream" to another local branch, no remote is required, it's just how it's typically used. Under the hood it's just a way of naming another reference as a divergence point.

I use this extensively with Git(Hub|Lab) (PR|MR)'s. I set the upstream to "master" but push to "topic". The "push.default" docs cover how to have your cake and eat it too there.

Re:Highlights from Git 2.34 by btschaegg on Wednesday November 17, 2021 @04:02PM (#29258793)
The reference to the `push.default` config key clarified a lot of things for me. Thank you very much! :)