-
-
Save dauni/22f0c1a3b2f430b786ba9d25f6af8de4 to your computer and use it in GitHub Desktop.
Remove .idea files from PHPStorm with git & .gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove the file from the repository | |
git rm --cached .idea/ | |
# now update your gitignore file to ignore this folder | |
echo '.idea' >> .gitignore | |
# add the .gitignore file | |
git add .gitignore | |
git commit -m "Removed .idea files" | |
git push origin <branch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment