hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 11 months agoManager: This task only takes 30 minutes. Why did it take you the whole day?programming.devimagemessage-square70fedilinkarrow-up1792
arrow-up1792imageManager: This task only takes 30 minutes. Why did it take you the whole day?programming.devhypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 11 months agomessage-square70fedilink
minus-squarePacmanlives@lemmy.worldlinkfedilinkarrow-up20·edit-211 months agogit commit -m “changed somethings “ git push origin master
minus-squarejelloeater - Ops Mgr@lemmy.worldlinkfedilinkEnglisharrow-up2·11 months 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·11 months agouh in any actual company you almost never push to origin master. so I think it’s a joke.
minus-squarejelloeater - Ops Mgr@lemmy.worldlinkfedilinkEnglisharrow-up4·11 months agoForce push Fridays!
minus-squareherrvogel@lemmy.worldlinkfedilinkarrow-up1·11 months 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·11 months 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 - Ops Mgr@lemmy.worldlinkfedilinkEnglisharrow-up3·11 months 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·11 months 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·11 months 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·11 months agohttps://git-scm.com/docs/git-push#Documentation/git-push.txt-pushautoSetupRemote
minus-squarejelloeater - Ops Mgr@lemmy.worldlinkfedilinkEnglisharrow-up1·11 months agoI tired that, still was having issues, weeeird.
git commit -m “changed somethings “
git push origin master
You forgot this
--force
flag.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.