Answer the question
In order to leave comments, you need to log in
How to upload a local repository to GitHub?
There is a folder with a local repository on the computer. There is also an already created repository on GiHub. How to push a local repository to GitHub? SSH key on GitHub connected. Entered the command in the terminal
git remote add origin [email protected]: user/репозиторий
. git push -u origin master
) resulted in the following error: Answer the question
In order to leave comments, you need to log in
As a rule, I transfer local turnips easier:
1. create an empty turnip on githosting
2. clone from an empty turnip
3. copy all files from the local turnip to the one cloned from the hosting
4. add, commit, push
forget about the old local turnip storage location and continue to live in a new one related to hosting
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question