Skip to content

Instantly share code, notes, and snippets.

@Dragod
Last active September 22, 2021 10:31
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 Dragod/acaec4ca67908bd7a141d7b30f725bf8 to your computer and use it in GitHub Desktop.
Save Dragod/acaec4ca67908bd7a141d7b30f725bf8 to your computer and use it in GitHub Desktop.
Remove exsisting file/repo and add it to .gitignore

Remove a file from the repo and add it to .gitignore

git rm --cached resources/sprite/dist/sprite.svg

Remove a all file from a folder in a repo and add it to .gitignore

git rm -r --cached resources/sprite/svgo

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