Skip to content

Instantly share code, notes, and snippets.

@ajmeese7
Created September 3, 2022 20:21
Show Gist options
  • Save ajmeese7/c35570c219aa7a9ef94ee24e036b482b to your computer and use it in GitHub Desktop.
Save ajmeese7/c35570c219aa7a9ef94ee24e036b482b to your computer and use it in GitHub Desktop.
Remove uppercase file duplicates before git commit
find . | sort -r | uniq -di | xargs rm -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment