this post was submitted on 03 Mar 2024
1011 points (97.6% liked)

Programmer Humor

25773 readers
2507 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] cyborganism@lemmy.ca 16 points 1 year ago (10 children)

Just set your default behavior.

[–] OpenStars@startrek.website 24 points 1 year ago (9 children)

I have only ever used simply "git push". I feel like this is a "how to say that you barely know how to use git without saying that you barely know how to use git" moment:-D.

[–] sag@lemm.ee 6 points 1 year ago (6 children)
[–] Cqrd@lemmy.dbzer0.com 23 points 1 year ago* (last edited 1 year ago) (1 children)

You can default git to using your current branch and a specific upstream so you don't have to put anything after git push

[–] sag@lemm.ee 4 points 1 year ago (1 children)
[–] bleistift2@feddit.de 6 points 1 year ago

Has git never told you that you should use git push -u origin <branch> when you push a new branch for the first time?

load more comments (4 replies)
load more comments (6 replies)
load more comments (6 replies)