docker system df
docker system prune
docker system prune --all
docker volume prune
-
https://links.infomee.fr/?9wYw4wTo clean old file in repo
-
https://rtyley.github.io/bfg-repo-cleaner/Show what will be deleted with the -n option:
git clean -f -n
Then - beware: this will delete files - run:
git clean -f
-
http://stackoverflow.com/questions/61212/how-do-i-remove-local-untracked-files-from-my-current-git-branchPratique pour l'écriture de script en bash lorsqu'on a besoin d'un fichier temporaire :
#Creation
tmpfile=$(mktemp)
#Utilisation...
#Clean
if [ -e "$tmpfile" ]
then
rm -f $tmpfile
fi
-
https://links.infomee.fr/?r6stZw