Skip to content

Instantly share code, notes, and snippets.

@jarkkojs
Created November 16, 2024 06:17
Show Gist options
  • Save jarkkojs/894a02671e1c789230b261dfdae4f5c6 to your computer and use it in GitHub Desktop.
Save jarkkojs/894a02671e1c789230b261dfdae4f5c6 to your computer and use it in GitHub Desktop.
find $PWD -name ".git" | sed 's/\/\.git//g' | xargs -I{} git -C {} clean -f -d -x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment