Push the existing Git library code to the new library

cd /path/to/your/git/repo/
git remote -v
git remote rm origin
git remote add origin ssh://[email protected]:8266/git/new/repo
scp -p -P 8266 [email protected]:hooks/commit-msg .git/hooks/
git push -u origin --all
git push -u origin --tags

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324936399&siteId=291194637