DEV Community

Debugger 333
Debugger 333

Posted on • Updated on

Whoza! GUYS I AM BACK AGAIN WITH AN ANOTHER BLOG. SO TODAY I AM GOING TO TELL YOU HOW TO LINK YOU FLUTTER PROJECT TO GITHUB

Requirements:

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"
Enter fullscreen mode Exit fullscreen mode

After doing this open your repo scroll down and you will se an option on the bottom to copy the code

Alt Text

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
Enter fullscreen mode Exit fullscreen mode

please don't copy the code given up because you can get a different url like

Alt Text

after doing this go to your github repo page and reload it you will se you files and folders on the page
example:

Alt Text

Alt Text

https://github.com/neev123dev/
https://dev.to/neev123dev

Top comments (0)