Skip to content

Instantly share code, notes, and snippets.

@Gazzell
Last active March 16, 2020 09:24
Show Gist options
  • Save Gazzell/315e314b7efcebb0819a52e1851d2415 to your computer and use it in GitHub Desktop.
Save Gazzell/315e314b7efcebb0819a52e1851d2415 to your computer and use it in GitHub Desktop.

Revisions

  1. Gazzell revised this gist Mar 16, 2020. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion commands.txt
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,6 @@
    # delete node_modules for in all projects (dirs)
    find ./ -name "node_modules" -maxdepth 2 -exec rm -rf {} \;
    find ./ -name "node_modules" -maxdepth 2 -exec rm -rf {} \;

    ##GIT
    #remove all merged local branches
    git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d
  2. Gazzell created this gist Aug 27, 2019.
    2 changes: 2 additions & 0 deletions commands.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    # delete node_modules for in all projects (dirs)
    find ./ -name "node_modules" -maxdepth 2 -exec rm -rf {} \;