Skip to content

Instantly share code, notes, and snippets.

@chakrakan
Last active August 2, 2020 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chakrakan/5a305af2ba4a2f90bece110e5af45cc6 to your computer and use it in GitHub Desktop.
Save chakrakan/5a305af2ba4a2f90bece110e5af45cc6 to your computer and use it in GitHub Desktop.

If pushed stupid files into repo,

  • Remove DS_Store

find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch

  • .idea / .vscode

git rm -r --cached .idea .vscode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment