码迷,mamicode.com
首页 > Web开发 > 详细

idea 使用idea上传项目到码云(gitee)上 IntelliJ IDEA

时间:2020-04-19 17:36:02      阅读:125      评论:0      收藏:0      [点我收藏+]

标签:reg   深圳   找工作   xmlns   hid   link   设置   art   sheet   

<div id="article_content" class="article_content clearfix">

            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-211130ba7a.css">

                            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-211130ba7a.css">

                <div class="htmledit_views" id="content_views">

                                            <h2><a name="t0"></a><a name="t0"></a>第一步:</h2>

 

<p>登录到码云上面去,进入个人主页,然后点击项目的加号创建项目。</p>

 

<p><img class="has" height="729" src="https://img-blog.csdn.net/20180827151430220?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>

 

<h2><a name="t1"></a><a name="t1"></a>第二步:</h2>

 

<p>创建项目。</p>

 

<p><img class="has" height="844" src="https://img-blog.csdn.net/20180827151709326?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="871"></p>

 

<h2><a name="t2"></a><a name="t2"></a>第三步:</h2>

 

<p>idea上创建好项目,然后根据图片操作创建仓库</p>

 

<p><img class="has" height="813" src="https://img-blog.csdn.net/20180827152644678?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>

 

<h2><a name="t3"></a><a name="t3"></a>第四步:</h2>

 

<p>选择当前项目当做仓库目录</p>

 

<p><img class="has" height="797" src="https://img-blog.csdn.net/20180827152833196?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="999"></p>

 

<h2><a name="t4"></a><a name="t4"></a>第五步:</h2>

 

<p>点击项目目录右键,此时会出现一个git,这是仓库创建成功才会有的。然后点击add添加到缓冲区</p>

 

<p><img class="has" height="1020" src="https://img-blog.csdn.net/20180827153030447?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>

 

<h2><a name="t5"></a><a name="t5"></a>第六步:</h2>

 

<p>将缓冲区的项目添加到本地仓库中</p>

 

<p><img class="has" height="1022" src="https://img-blog.csdn.net/20180827153725544?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>

 

<h2><a name="t6"></a><a name="t6"></a>第七步:</h2>

 

<p>选择要提交的目录文件,和信息,然后点击commit,这样项目就提交到本地的git里面去了。</p>

 

<p><img class="has" height="1021" src="https://img-blog.csdn.net/20180827153857971?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>

 

<h2><a name="t7"></a><a name="t7"></a>第八步:</h2>

 

<p>上传到gitee(码云上面去),项目右键,依次点击图片上面的提示提交,通过git提交到gitee上面去。</p>

 

<p><img class="has" height="1017" src="https://img-blog.csdn.net/20180827154107284?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>

 

<h3><a name="t8"></a><a name="t8"></a>第九步:</h3>

 

<p>进入提交配置界面,点击master→DefineRemote,进入远程定义,填入你的项目名和远程地址的链接,先去你的码云找到项目地址的链接复制下来,然后填入到远程定义中,然后点击push。</p>

 

<p><img class="has" height="815" src="https://img-blog.csdn.net/20180827154942927?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>

 

<p><img class="has" height="916" src="https://img-blog.csdn.net/20180827154903220?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1049"></p>

 

<h3><a name="t9"></a><a name="t9"></a>第十步:</h3>

 

<p>设置好了之后提交,选择你要上传的代码,</p>

 

<p><img class="has" height="912" src="https://img-blog.csdn.net/20180827155141193?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1157"></p>

 

<h3><a name="t10"></a><a name="t10"></a>第十步:</h3>

 

<p>提交完成之后刷新码当前项目的页面,会发现你提交的也更新了。这样也就是证明你提交成功了。</p>

 

<p><img class="has" height="654" src="https://img-blog.csdn.net/20180827160719981?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>                                    </div><div><div></div></div>

                                                <div class="more-toolbox">

                <div class="left-toolbox">

                    <ul class="toolbox-list">

                        

                        <li class="tool-item tool-active is-like "><a href="javascript:;"><svg class="icon" aria-hidden="true">

                            <use xlink:href="#csdnc-thumbsup"></use>

                        </svg><span class="name">点赞</span>

                        <span class="count">19</span>

                        </a></li>

                        <li class="tool-item tool-active is-collection "><a href="javascript:;" data-report-click="{&quot;mod&quot;:&quot;popu_824&quot;}"><svg class="icon" aria-hidden="true">

                            <use xlink:href="#icon-csdnc-Collection-G"></use>

                        </svg><span class="name">收藏</span></a></li>

                        <li class="tool-item tool-active is-share"><a href="javascript:;" data-report-click="{&quot;mod&quot;:&quot;1582594662_002&quot;}"><svg class="icon" aria-hidden="true">

                            <use xlink:href="#icon-csdnc-fenxiang"></use>

                        </svg>分享</a></li>

                        <!--打赏开始-->

                                                <!--打赏结束-->

                                                <li class="tool-item tool-more">

                            <a>

                            <svg t="1575545411852" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5717" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M179.176 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5718"></path><path d="M509.684 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5719"></path><path d="M846.175 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5720"></path></svg>

                            </a>

                            <ul class="more-box">

                                <li class="item"><a class="article-report">文章举报</a></li>

                            </ul>

                        </li>

                                            </ul>

                </div>

                            </div>

            <div class="person-messagebox">

                <div class="left-message"><a href="https://blog.csdn.net/qq_22194659">

                    <img src="https://profile.csdnimg.cn/3/8/6/3_qq_22194659" class="avatar_pic" username="qq_22194659">

                                            <img src="https://g.csdnimg.cn/static/user-reg-year/1x/5.png" class="user-years">

                                    </a></div>

                <div class="middle-message">

                                        <div class="title"><span class="tit"><a href="https://blog.csdn.net/qq_22194659" data-report-click="{&quot;mod&quot;:&quot;popu_379&quot;}" target="_blank">本人深圳找工作,有意请私聊我</a></span>

                                            </div>

                    <div class="text"><span>发布了65 篇原创文章</span> · <span>获赞 92</span> · <span>访问量 17万+</span></div>

                </div>

                                <div class="right-message">

                                            <a href="https://im.csdn.net/im/main.html?userName=qq_22194659" target="_blank" class="btn btn-sm btn-red-hollow bt-button personal-letter">私信

                        </a>

                                                            <a class="btn btn-sm  bt-button personal-watch" data-report-click="{&quot;mod&quot;:&quot;popu_379&quot;}">关注</a>

                                    </div>

                            </div>

                    </div>

详情可以看https://blog.csdn.net/qq_22194659/article/details/82113560博客

<article class="baidu_pl">        <!--python安装手册开始-->                <!--python安装手册结束-->                <!--####专栏广告位图文切换开始-->                                    <!--####专栏广告位图文切换结束-->         <div id="article_content" class="article_content clearfix">            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-211130ba7a.css">                            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-211130ba7a.css">                <div class="htmledit_views" id="content_views">                                            <h2><a name="t0"></a><a name="t0"></a>第一步:</h2>
<p>登录到码云上面去,进入个人主页,然后点击项目的加号创建项目。</p>
<p><img class="has" height="729" src="https://img-blog.csdn.net/20180827151430220?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>
<h2><a name="t1"></a><a name="t1"></a>第二步:</h2>
<p>创建项目。</p>
<p><img class="has" height="844" src="https://img-blog.csdn.net/20180827151709326?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="871"></p>
<h2><a name="t2"></a><a name="t2"></a>第三步:</h2>
<p>idea上创建好项目,然后根据图片操作创建仓库</p>
<p><img class="has" height="813" src="https://img-blog.csdn.net/20180827152644678?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>
<h2><a name="t3"></a><a name="t3"></a>第四步:</h2>
<p>选择当前项目当做仓库目录</p>
<p><img class="has" height="797" src="https://img-blog.csdn.net/20180827152833196?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="999"></p>
<h2><a name="t4"></a><a name="t4"></a>第五步:</h2>
<p>点击项目目录右键,此时会出现一个git,这是仓库创建成功才会有的。然后点击add添加到缓冲区</p>
<p><img class="has" height="1020" src="https://img-blog.csdn.net/20180827153030447?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>
<h2><a name="t5"></a><a name="t5"></a>第六步:</h2>
<p>将缓冲区的项目添加到本地仓库中</p>
<p><img class="has" height="1022" src="https://img-blog.csdn.net/20180827153725544?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>
<h2><a name="t6"></a><a name="t6"></a>第七步:</h2>
<p>选择要提交的目录文件,和信息,然后点击commit,这样项目就提交到本地的git里面去了。</p>
<p><img class="has" height="1021" src="https://img-blog.csdn.net/20180827153857971?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>
<h2><a name="t7"></a><a name="t7"></a>第八步:</h2>
<p>上传到gitee(码云上面去),项目右键,依次点击图片上面的提示提交,通过git提交到gitee上面去。</p>
<p><img class="has" height="1017" src="https://img-blog.csdn.net/20180827154107284?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>
<h3><a name="t8"></a><a name="t8"></a>第九步:</h3>
<p>进入提交配置界面,点击master→DefineRemote,进入远程定义,填入你的项目名和远程地址的链接,先去你的码云找到项目地址的链接复制下来,然后填入到远程定义中,然后点击push。</p>
<p><img class="has" height="815" src="https://img-blog.csdn.net/20180827154942927?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>
<p><img class="has" height="916" src="https://img-blog.csdn.net/20180827154903220?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1049"></p>
<h3><a name="t9"></a><a name="t9"></a>第十步:</h3>
<p>设置好了之后提交,选择你要上传的代码,</p>
<p><img class="has" height="912" src="https://img-blog.csdn.net/20180827155141193?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1157"></p>
<h3><a name="t10"></a><a name="t10"></a>第十步:</h3>
<p>提交完成之后刷新码当前项目的页面,会发现你提交的也更新了。这样也就是证明你提交成功了。</p>
<p><img class="has" height="654" src="https://img-blog.csdn.net/20180827160719981?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzIyMTk0NjU5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" width="1200"></p>                                    </div><div><div></div></div>                                                <div class="more-toolbox">                <div class="left-toolbox">                    <ul class="toolbox-list">                                                <li class="tool-item tool-active is-like "><a href="javascript:;"><svg class="icon" aria-hidden="true">                            <use xlink:href="#csdnc-thumbsup"></use>                        </svg><span class="name">点赞</span>                        <span class="count">19</span>                        </a></li>                        <li class="tool-item tool-active is-collection "><a href="javascript:;" data-report-click="{&quot;mod&quot;:&quot;popu_824&quot;}"><svg class="icon" aria-hidden="true">                            <use xlink:href="#icon-csdnc-Collection-G"></use>                        </svg><span class="name">收藏</span></a></li>                        <li class="tool-item tool-active is-share"><a href="javascript:;" data-report-click="{&quot;mod&quot;:&quot;1582594662_002&quot;}"><svg class="icon" aria-hidden="true">                            <use xlink:href="#icon-csdnc-fenxiang"></use>                        </svg>分享</a></li>                        <!--打赏开始-->                                                <!--打赏结束-->                                                <li class="tool-item tool-more">                            <a>                            <svg t="1575545411852" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5717" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M179.176 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5718"></path><path d="M509.684 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5719"></path><path d="M846.175 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5720"></path></svg>                            </a>                            <ul class="more-box">                                <li class="item"><a class="article-report">文章举报</a></li>                            </ul>                        </li>                                            </ul>                </div>                            </div>            <div class="person-messagebox">                <div class="left-message"><a href="https://blog.csdn.net/qq_22194659">                    <img src="https://profile.csdnimg.cn/3/8/6/3_qq_22194659" class="avatar_pic" username="qq_22194659">                                            <img src="https://g.csdnimg.cn/static/user-reg-year/1x/5.png" class="user-years">                                    </a></div>                <div class="middle-message">                                        <div class="title"><span class="tit"><a href="https://blog.csdn.net/qq_22194659" data-report-click="{&quot;mod&quot;:&quot;popu_379&quot;}" target="_blank">本人深圳找工作,有意请私聊我</a></span>                                            </div>                    <div class="text"><span>发布了65 篇原创文章</span> · <span>获赞 92</span> · <span>访问量 17万+</span></div>                </div>                                <div class="right-message">                                            <a href="https://im.csdn.net/im/main.html?userName=qq_22194659" target="_blank" class="btn btn-sm btn-red-hollow bt-button personal-letter">私信                        </a>                                                            <a class="btn btn-sm  bt-button personal-watch" data-report-click="{&quot;mod&quot;:&quot;popu_379&quot;}">关注</a>                                    </div>                            </div>                    </div>    </article>

idea 使用idea上传项目到码云(gitee)上 IntelliJ IDEA

标签:reg   深圳   找工作   xmlns   hid   link   设置   art   sheet   

原文地址:https://www.cnblogs.com/wxldlxt/p/12732343.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!