上传代码

cd existing_folder
git init
git remote add origin ssh://git@47.97.35.118:40022/wutong/credit.git
git add .
git commit -m "Initial commit"
git push -u origin master

原文地址:https://www.cnblogs.com/maohuidong/p/11247514.html