Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

push an existing repository from the command line

git remote add origin //repo link
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
5+2 =