@SeeMinusMinus@lemmy.world to Programmer Humor@lemmy.mlEnglish • 6 months agoIn case of firelemmy.worldimagemessage-square74fedilinkarrow-up1946arrow-down127
arrow-up1919arrow-down1imageIn case of firelemmy.world@SeeMinusMinus@lemmy.world to Programmer Humor@lemmy.mlEnglish • 6 months agomessage-square74fedilink
minus-square@rufuslink3•edit-25 months agoIt should (at least) be: git commit -a -m "🚨🔥🚨" git push --force Better, create a new branch and push it to origin(?). Relevant The IT Crowd
minus-square@IAm_A_Complete_Idiot@sh.itjust.workslinkfedilink4•edit-25 months agoBetter have not created any new files tho - git commit -a doesn’t catch those without an add first.
minus-squareZephyrXerolinkfedilinkEnglish1•edit-25 months agoSo we need git add . && git commit -a here really
minus-square@IAm_A_Complete_Idiot@sh.itjust.workslinkfedilink2•5 months agoIn which case the -a isn’t needed.
It should (at least) be:
git commit -a -m "🚨🔥🚨" git push --force
Better, create a new branch and push it to origin(?).
Relevant The IT Crowd
Better have not created any new files tho - git commit -a doesn’t catch those without an add first.
So we need
git add .
&&git commit -a
here reallyIn which case the -a isn’t needed.