Upload flutter project to GitHub - flutter

I have a flutter project created in android studio.
I want to upload it to GitHub so that I can share it and remotely for downloading on other system. I am new to GitHub. How I can upload my codes? Keep in mind that I have not created a repository yet. How can I add it so that push pull function also work properly??

You will create a repository and then you will follow the instructions given here
I would suggest you also to watch a video in youtube there are plenty of them

I have two solutions for you that are easy to do for most users
Option 1: your home page click New button and type in the repository name, click on Upload existing file and select your files you want to upload
Option 2: You could also use the github desktop app found here and upload folder directly
YouTube is also a great place if you want to learn about git and github

Related

github pages is not working anymore for me

I used to use Github pages to get a live demo for any finished project I pushed to GitHub and it was working properly and now it is not working every time I go to the repository setting and to pages I change the branch from none to main and the save button is not clickable on any new repository I have created recently I asked on the Github community and did not get any solution for this problem so, please help me solve this problem
enter image description here
enter image description here

How to move an image to a folder GitHub

I want to move an image in my GitHub repository to a new folder. I know to move a text file you can click the edit icon in the top right but there is no edit icon for pictures. How can I move the picture on GitHub in the browser?
Update: The OP changed the title after my answer. The original question said GitHub Desktop not GitHub Browser - https://stackoverflow.com/posts/52977306/revisions
GitHub Desktop tracks all changes to all files as you edit them directly in the file system.
Just move the files directly using Windows Explorer and commit your changes to the repository using GitHub Desktop after moving the file.
Step-by-step instructions here:
Committing and reviewing changes to your project
You might also be interested in reading the other topics in the documentation, to get up to speed:
https://help.github.com/desktop/guides/contributing-to-projects/
Images are binary data. Adding, removing, and even updating those images can cause unnecessary usage of your repository's space. This is because images, videos, and other binary data are larger than the text files where our code is written. For personal projects, one could use this site (or another) to upload all of your images: https://imgbb.com/. Then URLs of each image will be provided for use anywhere in an app without the need to store those images in an actual repo.

Changing git account on Xcode

What I am trying to do is, I have a project that I got from someone on GitHub a little while ago. I just created my own GitHub account and wanted to link this app to my GitHub account so that I can use repositories and commit and push, etc. However in this app in the Xcode project in source control where it shows the master and history etc. it shows the name of the person who created the app originally and gave it to me. What I would like to do is to be able to link it to my account also so that when I commit something, he can't see it on his GitHub. I have already created a new repository on GitHub and have tried it out with a test app that I just made and it says my name under the source control side panel. I am not sure where to add a new remote and delete his for this project. I want to be able to commit and have it all set up on my account, so that he can't see my commits, etc.
What I have been doing before setting up GitHub was constantly duplicating the Xcode project whenever I wanted to add a new feature or edit something. I'm hoping this will help cut that step out?
If having the original owner not see your new contributions to the code is important to you, then you could simply clone the new repository that you created on GitHub and copy the code from his repository into your new one manually.
If you do not mind your code being linked to his original code, you can fork the repository on GitHub and then clone it and begin working from there.
Doing either of these methods will give you the same situation that you had with your test app, your name and information will show up in xcode, and you will be able to make changes to the repos.

Where to deploy my application?

So I got my first github page that contains download buttons. I want to create buttons that link to the current version of my app.
How should I approach this? You should keep the application and the source apart from each other, but I don't have an idea where I should put my file on github to make it accessible (including a version history).
Would you link to a Sourceforge-Project or something similar? Or is there a common way for that on github?
You can tag the current version (which you want to be downloaded) and make a release on github. You can give link to the release for download.

Use github website purely - upload to add files

I'm trying to purely use the website Github to create a repo, then public first commit. (Because I cant install the desktop client on this computer, nor use the command line, school restrictions)
I found a little cheat, I clicked the "make readme" button then renamed that file to make the first commit.
I created a screncast here:
Youtube :: Use Github without the Desktop App
After that I can create new text based files by clicking "+" button and create subdirectories too. But I don't know how to upload image, other text based files, or other non-text files to the repo using just the website. Does anyone know?
GitHub's web interface isn't designed as a complete Git solution. It allows you to do a subset of the operations you could do in a local clone, including just about every part of GitHub Flow.
Their documentation about adding files only covers adding text files using the online editor, which you have already discovered. I don't believe that it supports uploading files.