Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

github push an existing repository from the command line

git remote add origin https://github.com/Username/Name_Of_Repo.git
git branch -M main
git push -u origin main
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #github #push #existing #repository #command #line
ADD COMMENT
Topic
Name
3+2 =