cd existing_git_repo git remote add origin https://git.oschina.net/name/package.git git push -u origin master