F: \ OpenServer \ domains \ workbook.loc (master) λ git remote add origin https://github.com/pepelxD/works-cloud.git
F: \ OpenServer \ domains \ workbook.loc (master) λ git remote -v origin
https://github.com/pepelxD/works-cloud.git (fetch) origin
https://github.com/pepelxD/works-cloud.git (push)F: \ OpenServer \ domains \ workbook.loc (master) λ git push -u github
master fatal: 'github' git repository fatal:
Could not read from remote repository.Please make sure you have the repository exists.
Next, do this:
F: \ OpenServer \ domains \ workbook.loc (master) λ git push origin master
Counting objects: 15, done. Delta compression using up to 4 threads.
Compressing objects: 100% (13/13), done. Writing objects: 100%
(15/15), 3.29 KiB | 0 bytes / s, done. Total 15 (delta 0), reused 0
(delta 0) To https://github.com/pepelxD/works-cloud.git
7403f85..8d96036 master -> masterF: \ OpenServer \ domains \ workbook.loc (master) λ git push
fatal: The current branch master has no upstream branch. To push the current
branch and set upgit push --set-upstream origin masterF: \ OpenServer \ domains \ workbook.loc (master) git push - set-upstream origin master
Branch master set up to track remote branch master from
origin. Everything up-to-dateF: \ OpenServer \ domains \ workbook.loc (master) git push Everything up-to-date
Can someone explain what it was then?
git push -u origin? - Yuriy SPb ♦git remote add originwhengit remote add githubimplied.Поэтому git push -u githubdoes not work. - 0andriy