Cannot ignore .flutter-plugins-dependencies

49 views
Skip to first unread message

Jeff Jorczak

unread,
May 24, 2020, 10:37:39 PM5/24/20
to Flutter Development (flutter-dev)
Added .flutter-plugins-dependencies to the .gitignore file but it's not getting ignored... still queued for check-in. Anyone else having this issue?

Graham Dickinson

unread,
May 25, 2020, 3:02:07 AM5/25/20
to Flutter Development (flutter-dev)
If you have checked it in before then the gitignore won't work. You will have to delete the file from Git and history first. Google how to do that.

Prashant Fepale

unread,
May 26, 2020, 5:36:11 AM5/26/20
to Flutter Development (flutter-dev)
hi Jeff,
Having same issue..

Federico Fazzeri

unread,
Jun 11, 2020, 8:40:48 PM6/11/20
to Flutter Development (flutter-dev)
same here..

Federico Fazzeri

unread,
Jun 11, 2020, 8:45:22 PM6/11/20
to Flutter Development (flutter-dev)
this worked for me:

git rm --cached .flutter-plugins-dependencies
git commit --amend -CHEAD
git push

Jeff Jorczak

unread,
Jun 14, 2020, 9:03:50 PM6/14/20
to Flutter Development (flutter-dev)
Confirming if it helps anyone else, the file got checked in originally. Apparently .gitignore doesn't ignore files that are already tracked. So as mentioned above you have to tell it to remove it from the cache to have it stop tracking the file.
Reply all
Reply to author
Forward
0 new messages