Skip to content

Instantly share code, notes, and snippets.

@SvyatoslavPozhydaev
Last active January 28, 2020 08:31
Show Gist options
  • Save SvyatoslavPozhydaev/c2fb16d5cc53e9a4bea304269e297f03 to your computer and use it in GitHub Desktop.
Save SvyatoslavPozhydaev/c2fb16d5cc53e9a4bea304269e297f03 to your computer and use it in GitHub Desktop.
git ls-files | xargs -n 1 dirname | uniq | grep /dist | xargs -n 1 git rm --cached -r --
find ./packages/ -name dist | uniq | xargs -n 1 rm -rf --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment