Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Push an existing repository from the command line

git remote add origin https://github.com/USERNAME/REPOSITORYNAME.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+7 =