-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take time to learn Git and how to use Github correctly #26
Comments
I am currently reading and following the Git-it Guide the interactive workshop present in the repository: |
I am now in step five of the creation of a remote repository. 5️⃣ This is the repository I will use to express future ideas about Flutter applications. Then I was able to connect the local to the remote. Using this command, The next step would be to pass everything that was done locally to the Github using the command, When I ran that command on the command line, the following error appears. So I tried to run the git push --set-upstream origin master command and I continue with the same error. |
@miguelmartins17 run the following command:
|
@nelsonic This is the result. |
@miguelmartins17 looks like you have it setup correctly. Are you able to make a change on GitHub and |
@nelsonic I've been researching and found out what the cause of the error was, so the cause of the error is due to the repository still being empty. There are no commits in the repository. Resolution Create the first commit inside of the repository and then it can be pushed. `touch initial git add initial git commit -m "initial commit" git push -u origin master` |
I took my day off today to learn Git and to use Github correctly.
I had some doubts about how to add code or files to Github, how to perform a Git Push and how I can improve my performance when using Github. 💭
I've increasingly had the need to learn Git even putting other repositories as priorities to learn Git and how Github works can revolutionise my performance and save me a lot of time and headaches.
So I'm going to enjoy the day by starting to read: https://github.com/dwyl/start-here#git--github
and leave everything I learn here.
The text was updated successfully, but these errors were encountered: