keepkey / keepkey-desktop

KeepKey Desktop Application
https://keepkey.com
GNU General Public License v3.0
6 stars 6 forks source link

remove git clean from the yarn clean script #663

Closed 0xMillz closed 1 year ago

0xMillz commented 1 year ago

git clean -fdx should never be hidden in a regular yarn clean script. It's only a matter of time before a dev accidentally gets rekt!

when you run git clean -fdx, you are telling Git to forcefully remove all untracked files and directories, even those ignored by your .gitignore rules. This can be a useful command when you want to clean up your working directory and remove all untracked files and directories that may have accumulated during development or other operations. However, be extremely cautious when using git clean -fdx, as it will permanently delete untracked files, and there is no easy way to recover them once they are removed.