i would like to ignore .flutter-plugins-dependencies file when i run a git push command, i have tried to remove the file from cache through this command
git rm -r --cached
but it doesn't work. also i tried to indicate it in .gitignore file:
the .flutter-plugins-dependencies file always appears in my commits. i don't know what i should do
git rm --cached .flutter-plugins-dependencies
should solve your problem
First add .flutter-plugins-dependencies
to .gitignore
file, then follow these steps
git rm -r --cached . #untrack files
git add . #re-adding the files
git commit -m "issue fixed" #commiting changes
git push #pushing changes
Refer: Why is .gitignore not ignoring my files?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With