Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

phpstorm remove file from vcs

# 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>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #phpstorm #remove #file #vcs
ADD COMMENT
Topic
Name
6+3 =