SeeMinusMinus@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoIn case of firelemmy.worldimagemessage-square74fedilinkarrow-up1949arrow-down127
arrow-up1922arrow-down1imageIn case of firelemmy.worldSeeMinusMinus@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square74fedilink
minus-squarenao@sh.itjust.workslinkfedilinkarrow-up9·1 year agono changes added to commit (use “git add” and/or “git commit -a”)
minus-squarerufuslinkfedilinkarrow-up3·edit-21 year 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-squareIAm_A_Complete_Idiot@sh.itjust.workslinkfedilinkarrow-up4·edit-21 year agoBetter have not created any new files tho - git commit -a doesn’t catch those without an add first.
minus-squareZephyrXero@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-21 year agoSo we need git add . && git commit -a here really
minus-squareIAm_A_Complete_Idiot@sh.itjust.workslinkfedilinkarrow-up2·1 year agoIn which case the -a isn’t needed.
no changes added to commit (use “git add” and/or “git commit -a”)
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.