▲ 933 ▼ In case of fire (lemmy.world) submitted 2 years ago by SeeMinusMinus@lemmy.world to c/programmerhumor@lemmy.ml 73 comments fedilink hide all child comments
[–] rufus@discuss.tchncs.de 3 points 2 years ago* (last edited 2 years ago) (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] IAm_A_Complete_Idiot@sh.itjust.works 4 points 2 years ago* (1 child) Better have not created any new files tho - git commit -a doesn't catch those without an add first. permalink fedilink source parent hideshow 2 child comments replies: [–] ZephyrXero@lemmy.world 1 point 2 years ago* (1 child) So we need git add . && git commit -a here really permalink fedilink source parent hideshow 2 child comments replies: [–] IAm_A_Complete_Idiot@sh.itjust.works 2 points 2 years ago In which case the -a isn't needed. permalink fedilink source parent
[–] IAm_A_Complete_Idiot@sh.itjust.works 4 points 2 years ago* (1 child) Better have not created any new files tho - git commit -a doesn't catch those without an add first. permalink fedilink source parent hideshow 2 child comments replies: [–] ZephyrXero@lemmy.world 1 point 2 years ago* (1 child) So we need git add . && git commit -a here really permalink fedilink source parent hideshow 2 child comments replies: [–] IAm_A_Complete_Idiot@sh.itjust.works 2 points 2 years ago In which case the -a isn't needed. permalink fedilink source parent
[–] ZephyrXero@lemmy.world 1 point 2 years ago* (1 child) So we need git add . && git commit -a here really permalink fedilink source parent hideshow 2 child comments replies: [–] IAm_A_Complete_Idiot@sh.itjust.works 2 points 2 years ago In which case the -a isn't needed. permalink fedilink source parent
[–] IAm_A_Complete_Idiot@sh.itjust.works 2 points 2 years ago In which case the -a isn't needed. permalink fedilink source parent