SagXD@lemm.ee to Programmer Humor@programming.dev · 7 months agoMy Git Knowledgelemm.eeimagemessage-square33fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageMy Git Knowledgelemm.eeSagXD@lemm.ee to Programmer Humor@programming.dev · 7 months agomessage-square33fedilink
minus-squareOpenStars@startrek.websitelinkfedilinkEnglisharrow-up0·7 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-27 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·7 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?
Just set your default behavior.
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?