driving_crooner@lemmy.eco.br to Programmer Humor@programming.dev · 8 days agoGit, invented in 2005. Programmers on 2004:lemmy.eco.brimagemessage-square140fedilinkarrow-up1741arrow-down19
arrow-up1732arrow-down1imageGit, invented in 2005. Programmers on 2004:lemmy.eco.brdriving_crooner@lemmy.eco.br to Programmer Humor@programming.dev · 8 days agomessage-square140fedilink
minus-squareArsecroft@lemmy.sdf.orglinkfedilinkarrow-up147·edit-28 days agothis guy would have force pushed onto main about 10 mins after this if he did have git
minus-squarepivot_root@lemmy.worldlinkfedilinkarrow-up37·8 days agoAnd then lost the reflog by rm -rfing the project and cloning it again.
minus-squareLucy :3@feddit.orglinkfedilinkarrow-up6arrow-down1·edit-28 days agoTbf you have to do that for the first push, if a Readme file was autogenerated
minus-squarecomputergeek125@lemmy.worldlinkfedilinkEnglisharrow-up4·8 days agoDoes that still happen if you use the merge unrelated histories option? (Been a minute since I last had to use that option in git)
minus-squareLucy :3@feddit.orglinkfedilinkarrow-up2·8 days agoNever have heard of that, but in the case of you also having a Readme that will be even more complicated, I imagine. So just adding -f is the easier option.
this guy would have force pushed onto main about 10 mins after this if he did have git
And then lost the reflog by
rm -rf
ing the project and cloning it again.God bless DCVS.
Tbf you have to do that for the first push, if a Readme file was autogenerated
Does that still happen if you use the merge unrelated histories option? (Been a minute since I last had to use that option in git)
Never have heard of that, but in the case of you also having a Readme that will be even more complicated, I imagine. So just adding -f is the easier option.