sag@lemm.ee to Programmer Humor@programming.dev · 8 months agoMy Git Knowledgelemm.eeimagemessage-square39fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1imageMy Git Knowledgelemm.eesag@lemm.ee to Programmer Humor@programming.dev · 8 months agomessage-square39fedilink
minus-squareOpenStars@startrek.websitelinkfedilinkEnglisharrow-up0·8 months agoI 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.
minus-squarebody_by_make@lemmy.dbzer0.comlinkfedilinkarrow-up0·edit-28 months agoYou can default git to using your current branch and a specific upstream so you don’t have to put anything after git push
minus-squarebleistift2@feddit.delinkfedilinkEnglisharrow-up0·8 months agoHas git never told you that you should use git push -u origin <branch> when you push a new branch for the first time?
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.
Hold Up
You can default git to using your current branch and a specific upstream so you don’t have to put anything after git push
Thanks didn’t know that
Has git never told you that you should use
git push -u origin <branch>
when you push a new branch for the first time?