-
-
Save heshamelmasry77/083f4ba37a4b709e05a7831c853d931c to your computer and use it in GitHub Desktop.
Remove .idea files from PHPStorm with git & .gitignore
This file contains hidden or 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