News for hackers. Stuff that matters.
Re:Git 2.19.0 released by saidajigumi on Wednesday September 12, 2018 @01:51PM (#17971214)
Good point; I'd missed that someone taught git a smarter "spelling" for this task. IIRC, `git push -u origin HEAD` didn't used to automatically create a branch of the same name on that remote -- the explicit colon notion was required. I've had this little script around for a long time...
Re:Git 2.19.0 released by majewsky on Thursday September 13, 2018 @02:50PM (#17981275)
I just do

  git push -u
which does what I want since I set

  git config --global push.default=current