Last active
May 7, 2025 18:21
-
-
Save vindard/c821872ff37abbebac7c9e1b4582a010 to your computer and use it in GitHub Desktop.
Some one-liners I use to do tasks on my linux box
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
# To clean up all my docker volumes | |
docker volume rm $(docker volume ls | awk 'NR>1 {print $2}') | |
# clean up local branches | |
git branch -d $(git branch | grep -v main) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment