What files in Flutter project should I NOT push to a remote repo?

1,785

Solution 1

don't know this exact environment, but a quick google search suggested this:

Consistent .gitignore for Dart and Flutter projects #13892 and this github/gitignore

enjoy! :)

Solution 2

Normally, I use this: http://gitignore.io/. It seems ok, I could list all of my and teammate environments then adding it to .gitignore. Last but not least add, commit, push.

Share:
1,785
Nazrin Harris
Author by

Nazrin Harris

Updated on December 14, 2022

Comments

  • Nazrin Harris
    Nazrin Harris over 1 year

    I'm pushing my entire Flutter Project to GitHub. But I wonder if there is any safety precautions I should take before bringing it to the public.

    I used git add . and pushed it to my remote repo.

    Maybe there's some sort of private data that shouldn't be shown?

  • Nazrin Harris
    Nazrin Harris over 4 years
    Thanks!, I'm pretty new to git so I didn't know how to search. thanks anyway!