Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

push an existing repository from the command line

git remote add origin https://github.com/868-Anton/Codecademy.github.io.git
git branch -M main
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #push #existing #repository #command #line
ADD COMMENT
Topic
Name
6+5 =