1.点击导航栏 VCS -> Import into Version Control -> 托管项目到码云
![这里写图片描述](//img-blog.csdn.net/20170518233114065?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDMxODk1Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
2.输入码云帐号密码,点击login。
![这里写图片描述](//img-blog.csdn.net/20170518233221802?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDMxODk1Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
3.勾选private,点击托管按钮。
![这里写图片描述](//img-blog.csdn.net/20170518233258832?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDMxODk1Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
4.点击OK。
![这里写图片描述](//img-blog.csdn.net/20170518233450192?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDMxODk1Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
5.在项目上右键 ->Git ->Commit Directory
![这里写图片描述](//img-blog.csdn.net/20170518233802434?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDMxODk1Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
6.填写Commit Message(养成良好编码习惯),点击Commit按钮
![这里写图片描述](//img-blog.csdn.net/20170518233942968?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDMxODk1Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
7. 如果没有定义Git的用户名,点击Commit会弹出此弹窗,输入 name和email 点击 Set and Commit即可。
![这里写图片描述](//img-blog.csdn.net/20170518234208742?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDMxODk1Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
8.项目右键 -> Git -> Repository -> Push
![这里写图片描述](//img-blog.csdn.net/20170518234510866?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDMxODk1Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
9.点击Push。
![这里写图片描述](//img-blog.csdn.net/20170518234714886?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDMxODk1Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
10.登录码云查看。到此,项目上传码云成功!~
![这里写图片描述](//img-blog.csdn.net/20170518235056594?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDMxODk1Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
注意:(private勾选后项目并未成为私有项目,需要到码云网页上进行私有设置)
![这里写图片描述](//img-blog.csdn.net/20170518233558182?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdTAxMDMxODk1Nw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
posted on
2018-01-05 10:32
jtlgb
阅读(
1390)
评论()
编辑
收藏
举报