Requirements:
- git bash (can download from https://git-scm.com/)
- vs code
- flutter web (link of the blog to install flutterweb https://dev.to/neev123/hey-guys-today-i-am-going-to-tell-you-how-to-setup-flutter-and-flutter-web-on-windows-10-38jp)
- https://github.com/
Lets get started
Open github on you browser
sign in or create an account. After creating an account create a new repo.
connecting your flutter code with github
After creating a repo open your vs code and if you remember in my last blog we set up flutterweb working so open that project if you have did changes that's completely okay in this blog we are just going to focus how to link the project. Open your the provided terminal by vs code and type the following:
git init
git add .
git commit -m "first commit"
After doing this open your repo scroll down and you will se an option on the bottom to copy the code
paste that code in your terminal as shown in the example
git remote add origin https://github.com/neev123/ewh.git
git push -u origin master
please don't copy the code given up because you can get a different url like
after doing this go to your github repo page and reload it you will se you files and folders on the page
example:
Top comments (0)