Rakesh Saini
Rakesh Saini

Reputation: 763

Why flutter sdk folder uploading on github instead of project?

I am new github user, i want to upload my flutter project on github, i successfully installed are required components. When i uploading my flutter project the flutter sdk folder is uploading on github instead of flutter project. I uploaded screenshot of uploaded folder or link of uploaded project. Please help.. link - > https://github.com/rakesh8561/mi2

.enter image description here

Upvotes: 0

Views: 571

Answers (1)

VonC
VonC

Reputation: 1327104

It depends where you have created your flutter project folder.
And where you have done git init ..

If it is within a copy of github.com/flutter/flutter, then it would be added/committed to that flutter repository, which would be in turned pushed to your new GitHub repository.

The .git subfolder should be within your project, not in flutter

If you create a new Flutter project, it should be in a folder outside of the SDK.

Upvotes: 1

Related Questions