老朋 發表於 2019-12-13 14:52:00

PyCharm配置Gitee

<h2 id="pycharm配置gitee">PyCharm配置Gitee</h2>
<h3 id="第一步下载安装git">第一步:下载安装Git</h3>
<p>https://git-scm.com/download/win</p>
<h3 id="第二步配置ssh公钥">第二步:配置SSH公钥</h3>
<h4 id="1在你的项目代码文件夹或者其他文件夹下邮件打开git命令行">1、在你的项目代码文件夹,或者其他文件夹下,邮件打开git命令行</h4>
<p><img src="https://img2020.cnblogs.com/blog/1895590/202004/1895590-20200422091042326-1097183914.png" alt="" loading="lazy"></p>
<h4 id="2配置用户名和邮箱">2、配置用户名,和邮箱</h4>
<p><img src="https://img2020.cnblogs.com/blog/1895590/202004/1895590-20200422091439053-943590621.png" alt="" loading="lazy"></p>
<h4 id="3生成秘钥一直enter就可以">3、生成秘钥,一直Enter就可以</h4>
<p><img src="https://img2020.cnblogs.com/blog/1895590/202004/1895590-20200422091621474-1938380007.png" alt="" loading="lazy"></p>
<h4 id="4查看秘钥路径">4、查看秘钥路径</h4>
<p><img src="https://img2020.cnblogs.com/blog/1895590/202004/1895590-20200422092049584-1336850942.png" alt="" loading="lazy"></p>
<h4 id="5打开id_rsapub文件复制里面的所有内容放到网站里面就行可以httpsgiteecom">5、打开id_rsa.pub文件,复制里面的所有内容,放到网站里面就行可以:https://gitee.com/</h4>
<p><img src="https://img2020.cnblogs.com/blog/1895590/202004/1895590-20200422092318173-779824696.png" alt="" loading="lazy"></p>
<h3 id="第三步打开pycharm配置git">第三步:打开PyCharm,配置Git</h3>
<h4 id="file-setting-搜索git">File-&gt;Setting-&gt;搜索Git</h4>
<h4 id="1点击选择git安装路径">1、点击选择Git安装路径</h4>
<h4 id="2选择bin目录下的gitexe">2、选择bin目录下的git.exe</h4>
<h4 id="3点击okgit配置成功">3、点击OK,git配置成功</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144331064-2037594687.png" alt="" loading="lazy"></p>
<h3 id="第四步下载安装gitee">第四步:下载安装gitee</h3>
<h4 id="1在setting中选择plugins">1、在Setting中选择Plugins</h4>
<h4 id="2在marketplace下搜索框中搜索gitee">2、在Marketplace下搜索框中搜索gitee</h4>
<h4 id="3点击install进行下载安装">3、点击Install进行下载安装</h4>
<h4 id="4安装完后点击restart-ide">4、安装完后点击Restart IDE</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144359436-1933289059.png" alt="" loading="lazy"></p>
<h3 id="第五步登陆码云">第五步:登陆码云</h3>
<h4 id="1file-setting-搜索gitee">1、File-&gt;Setting-&gt;搜索gitee</h4>
<h4 id="2点击add-account">2、点击Add account</h4>
<h4 id="3输入账号密码进行登陆">3、输入账号密码进行登陆</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144440269-1859684461.png" alt="" loading="lazy"></p>
<h4 id="4登陆成功后会有登陆信息">4、登陆成功后,会有登陆信息</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144451919-655240816.png" alt="" loading="lazy"></p>
<h3 id="第六步将本地新项目上传到gitee上">第六步:将本地新项目上传到Gitee上</h3>
<h4 id="1选择vcs">1、选择VCS</h4>
<h4 id="2选择import-inti-version-cintrol">2、选择Import inti Version Cintrol</h4>
<h4 id="3选择share-project-on-gitee">3、选择Share Project on Gitee</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144510993-1507141619.png" alt="" loading="lazy"></p>
<h4 id="4repository-name上传的项目名也就是在gitee上创建的库的名称">4、Repository name上传的项目名(也就是在Gitee上创建的库的名称)</h4>
<h4 id="5private选中的话就是私有库别人不能访问">5、Private,选中的话就是私有库,别人不能访问</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144529439-768134556.png" alt="" loading="lazy"></p>
<h4 id="6点击share">6、点击Share</h4>
<h4 id="7选择你项目中要上传的文件">7、选择你项目中要上传的文件</h4>
<h4 id="8添加备注">8、添加备注</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144546378-173385988.png" alt="" loading="lazy"></p>
<h4 id="9点击add进行添加">9、点击Add进行添加</h4>
<h4 id="10add后项目中文件会出现绿色">10、Add后项目中文件会出现绿色</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144559465-1548401038.png" alt="" loading="lazy"></p>
<h4 id="11提交已经add过的文件">11、提交已经Add过的文件</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144624967-394953153.png" alt="" loading="lazy"></p>
<h4 id="12选择提交已经add过的文件">12、选择提交已经Add过的文件</h4>
<h4 id="13author提交者名称可以不填">13、Author提交者名称(可以不填)</h4>
<h4 id="14添加提交文件备注必填的">14、添加提交文件备注(必填的)</h4>
<h4 id="15可以预览提交的文件内容">15、可以预览提交的文件内容</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144645650-1133660342.png" alt="" loading="lazy"></p>
<h4 id="16commit后要push一下">16、commit后要push一下</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144718085-1642260570.png" alt="" loading="lazy"></p>
<h4 id="17可以看到commit过的文件">17、可以看到commit过的文件</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144731976-1981256260.png" alt="" loading="lazy"></p>
<h4 id="18成功后">18、成功后</h4>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144747644-2096478057.png" alt="" loading="lazy"></p>
<h3 id="第七步登陆gitee账号查看是否成功">第七步:登陆Gitee账号查看是否成功</h3>
<p><img src="https://img2018.cnblogs.com/blog/1895590/201912/1895590-20191213144802294-1937264071.png" alt="" loading="lazy"></p>


</div>
<div id="MySignature" role="contentinfo">
    <center>
<h3>Explicit is better than implicit(明了胜于晦涩)</h3>
<h4>希望对您有所帮助!感谢观看!<br>
如要转载,请注明出处:<br>
转载自:https://www.cnblogs.com/desireyang/,谢谢!<br></h4>
</center>
<hr/><br><br>
来源:https://www.cnblogs.com/desireyang/p/12035000.html
頁: [1]
查看完整版本: PyCharm配置Gitee