I created a folder locally and put it into a document. Then the specific steps are as shown in the figure above. Set ssh-key, first, and then follow the general step git init, git add.. , git commit-m "dd",git remote add origin,git pull origin master,git push oritin master, tried different steps and methods several times and failed to upload the code. I used the github address of https. I"ve tried git push-- upstream, too.
reported an error:
failed to push some refs to" https://github.com/gipal/dd.git"
Updates were rejected because the tip of your current branch is behind
its remote counterpart.. Integrate the remote changes (employees
"git pull.") Before pushing again.
See the "Note about fast-forwards" in" git push-- help" for details.
I can"t even try git pull. I can"t thank you enough for your help. Thank you very much.