@SeeMinusMinus to Programmer [email protected]English • 6 months agoIn case of fireimagemessage-square73arrow-up1952arrow-down126
arrow-up1926arrow-down1imageIn case of fire@SeeMinusMinus to Programmer [email protected]English • 6 months agomessage-square73
minus-square@[email protected]linkfedilink9•6 months agono changes added to commit (use “git add” and/or “git commit -a”)
minus-square@[email protected]linkfedilink3•edit-26 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@[email protected]linkfedilink4•edit-26 months agoBetter have not created any new files tho - git commit -a doesn’t catch those without an add first.
minus-squareZephyrXerolinkEnglish1•edit-25 months agoSo we need git add . && git commit -a here really
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.