git 新建项目提交本地项目代码

git init
git remote add origin ssh://git@42.123.127.93:10022/tyshawn/sdap1.git
git add .
git commit -m "程序源代码"
git push -u origin master

 

 

 

切换远程分支
git checkout-b dev
git pull origin dev

posted @ 2018-08-06 11:33  Emily1130  阅读(418)  评论(0编辑  收藏  举报