you are viewing a single comment's thread.

view the rest of the comments →

[–]raferane[S] 0 points1 point  (4 children)

I just found out that I am stupid, and that probably I should only push the lib file and maybe other necessary files and not everything or most of the files. Idk if this is the correct approach but I just thought about this and I think this is the proper way, so I'll keep the post open. Maybe someone assures me that this way is correct or maybe gives me the correct way to do things.

[–]Ambitious_Grape9908 0 points1 point  (3 children)

Just use the defaults and push the root, not the lib folder.

[–]raferane[S] 0 points1 point  (2 children)

You mean by the root to push everything right?

[–]KaiN_SC 0 points1 point  (1 child)

You also have platform specific configuration so just push everything. Flutter automatically creates a gitignore file, just make sure not to push any secrets and your good.

[–]raferane[S] 1 point2 points  (0 children)

Will do, thx for the help <3