Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git push existing repository

git remote add origin git@github.com:name/project.git
git branch -M main
git push -u origin main
Source by github.com #
 
PREVIOUS NEXT
Tagged: #git #push #existing #repository
ADD COMMENT
Topic
Name
3+5 =