▲ 117 ▼ I just erased my project (jlai.lu) submitted 1 year ago by mat@jlai.lu to c/programmerhumor@lemmy.ml 48 comments fedilink hide all child comments As the title says. I put the wrong value inside a clean up code and I wiped everything. I did not push any important work. I just want to cry but at least I can offer it to you. Do not hesitate to push even if your project is in a broken state.
[–] mat@jlai.lu [S] 8 points 1 year ago (5 children) also removed .git permalink fedilink source parent hideshow 5 child comments replies: [–] MyNameIsRichard@lemmy.ml 3 points 1 year ago You have backups? Right? permalink fedilink source parent [–] ReversalHatchery@beehaw.org 1 point 1 year ago (3 children) what garbage cleanup tool gets rid of dotfiles, especially .git? if you let us know we can learn to avoid it permalink fedilink source parent hideshow 3 child comments replies: [–] mat@jlai.lu [S] 2 points 1 year ago (1 child) shutil.remove_tree(BASE_DIR) instead of shutil.remove_tree(TEMP_DIR) inside of tear down code permalink fedilink source parent hideshow 1 child comment replies: [–] ReversalHatchery@beehaw.org 1 point 1 year ago oh, I see. well, lessons learned hopefully! :) permalink fedilink source parent [–] msherburn33@lemmy.ml 1 point 1 year ago On top of that, the content of .git/objects/ is write protected, so even if you go rm -r, you'll get an additional warning. permalink fedilink source parent
[–] MyNameIsRichard@lemmy.ml 3 points 1 year ago You have backups? Right? permalink fedilink source parent
[–] ReversalHatchery@beehaw.org 1 point 1 year ago (3 children) what garbage cleanup tool gets rid of dotfiles, especially .git? if you let us know we can learn to avoid it permalink fedilink source parent hideshow 3 child comments replies: [–] mat@jlai.lu [S] 2 points 1 year ago (1 child) shutil.remove_tree(BASE_DIR) instead of shutil.remove_tree(TEMP_DIR) inside of tear down code permalink fedilink source parent hideshow 1 child comment replies: [–] ReversalHatchery@beehaw.org 1 point 1 year ago oh, I see. well, lessons learned hopefully! :) permalink fedilink source parent [–] msherburn33@lemmy.ml 1 point 1 year ago On top of that, the content of .git/objects/ is write protected, so even if you go rm -r, you'll get an additional warning. permalink fedilink source parent
[–] mat@jlai.lu [S] 2 points 1 year ago (1 child) shutil.remove_tree(BASE_DIR) instead of shutil.remove_tree(TEMP_DIR) inside of tear down code permalink fedilink source parent hideshow 1 child comment replies: [–] ReversalHatchery@beehaw.org 1 point 1 year ago oh, I see. well, lessons learned hopefully! :) permalink fedilink source parent
[–] ReversalHatchery@beehaw.org 1 point 1 year ago oh, I see. well, lessons learned hopefully! :) permalink fedilink source parent
[–] msherburn33@lemmy.ml 1 point 1 year ago On top of that, the content of .git/objects/ is write protected, so even if you go rm -r, you'll get an additional warning. permalink fedilink source parent