minus-squarekrnl386@lemmy.catoLinux@lemmy.ml•Can I remove a git repo without resorting to `rm -rf` ?linkfedilinkarrow-up9·edit-224 days agoIf you’re that worried, why not run chmod -R u+w .git inside the project dir to “un write-protect” the files, then just ascend to the directory containing the project dir (cd …) and use rm -r without -f? The force flag (-f) is the scary one, I presume? linkfedilink
minus-squarekrnl386@lemmy.catoLinux@lemmy.ml•Red Hat-proposed Fedora opt-out Telemetry is opposed by 74%. Red Hat is deeply involved despite naysayers.linkfedilinkarrow-up0·1 year agoRedhat is honestly turning into bizarro Google. 🤦🏻♂️ linkfedilink
If you’re that worried, why not run chmod -R u+w .git inside the project dir to “un write-protect” the files, then just ascend to the directory containing the project dir (cd …) and use rm -r without -f?
The force flag (-f) is the scary one, I presume?