how to clear gradle cache gitignore 1

how to clear gradle cache gitignore

git rm -r --cached .idea/

Here is what the above code is Doing:
1. git rm -r –cached .idea/
– This will remove the folder from the index.
2. git add .
– This will add all the files back to the index.
3. git commit -m “Removed .idea/ from repository”
– This will commit the changes.
4. git push origin master
– This will push the changes to the remote repository.

Similar Posts