Skip to content

Instantly share code, notes, and snippets.

@ezhov-da
Last active March 10, 2019 12:24
Show Gist options
  • Save ezhov-da/430b5b3353ca3f547be465be730a60c1 to your computer and use it in GitHub Desktop.
Save ezhov-da/430b5b3353ca3f547be465be730a60c1 to your computer and use it in GitHub Desktop.
git .gitignore idea
https://stackoverflow.com/questions/32384473/gitignore-not-ignoring-idea-path
<pre>
.gitignore only ignores newly added (untracked) files.
If you have files that have already been added to the repository, all their changes will be tracked as usual, even if they are matched by .gitignore rules.
To remove that folder from the repository (without deleting it from disk), do:
git rm --cached -r .idea
</pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment