hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 1 year agoManager: This task only takes 30 minutes. Why did it take you the whole day?programming.devimagemessage-square70fedilinkarrow-up1793
arrow-up1793imageManager: This task only takes 30 minutes. Why did it take you the whole day?programming.devhypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 1 year agomessage-square70fedilink
minus-squarejelloeater@lemmy.worldlinkfedilinkEnglisharrow-up2·1 year agoDo you always have to do origin master? I’ve seen it where sometimes just git push works and other times not.
minus-squareadrian783@lemmy.worldlinkfedilinkarrow-up5·1 year agouh in any actual company you almost never push to origin master. so I think it’s a joke.
minus-squareherrvogel@lemmy.worldlinkfedilinkarrow-up1·1 year agoIn most actually companies you can try push to origin master, but it’ll likely get rejected by the repo’s security policies.
minus-squareMajorHavoc@lemmy.worldlinkfedilinkarrow-up4·1 year agoI was being more evil than that, saying that if one is gonna push direct to main, might as well maximize the possible damage to everyone else’s branch.
minus-squarejelloeater@lemmy.worldlinkfedilinkEnglisharrow-up3·1 year agoLol why not just delete the whole project from GitHub… I mean, everyone has a copy, right?😱
minus-squareThe Uncanny Observer@lemmy.dbzer0.comlinkfedilinkarrow-up3·1 year agoThat’s part of the joke, I think. If it’s a repo more than just you use, you would almost never push directly to the main branch.
minus-squarezcoyle@programming.devlinkfedilinkarrow-up3·1 year agowhere it Just Works, the branch is set up to track a remote branch https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches
minus-squaresloppy_diffuser@sh.itjust.workslinkfedilinkEnglisharrow-up2·1 year agohttps://git-scm.com/docs/git-push#Documentation/git-push.txt-pushautoSetupRemote
minus-squarejelloeater@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoI tired that, still was having issues, weeeird.
Do you always have to do origin master? I’ve seen it where sometimes just git push works and other times not.
uh in any actual company you almost never push to origin master. so I think it’s a joke.
Not with that attitude! /s
Force push Fridays!
In most actually companies you can try push to origin master, but it’ll likely get rejected by the repo’s security policies.
I was being more evil than that, saying that if one is gonna push direct to
main
, might as well maximize the possible damage to everyone else’s branch.Lol why not just delete the whole project from GitHub… I mean, everyone has a copy, right?😱
That’s part of the joke, I think. If it’s a repo more than just you use, you would almost never push directly to the main branch.
where it Just Works, the branch is set up to track a remote branch
https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches
https://git-scm.com/docs/git-push#Documentation/git-push.txt-pushautoSetupRemote
I tired that, still was having issues, weeeird.