Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git push existing git repository

cd myapp
git remote rename origin old-origin
git remote add origin https://github.com/myname/myapp.git
git push -u origin --all
git push -u origin --tags
Source by git.atosone.com #
 
PREVIOUS NEXT
Tagged: #git #push #existing #git #repository
ADD COMMENT
Topic
Name
2+4 =