Last active
March 16, 2020 09:24
-
-
Save Gazzell/315e314b7efcebb0819a52e1851d2415 to your computer and use it in GitHub Desktop.
useful bash commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# delete node_modules for in all projects (dirs) | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment