首页 > 其他 > 详细

PyCharm结合github使用

时间:2021-04-06 20:51:12      阅读:24      评论:0      收藏:0      [点我收藏+]

一、PyCharm结合github上传代码
1、首先登录官网进行注册 https://github.com/
2、下载git https://git-scm.com/
3、点击file>settings>version control>github>add acclunt进行github账户登录
技术分享图片

4、git设置(一般不需要改动)
技术分享图片

5、点击VCS>share project on github
技术分享图片

6、创建远程厂库
技术分享图片

7、提交代码
技术分享图片

8、选择提交内容,点击提交
技术分享图片

9、提交完成之后记得点击push进行github上的代码同步
技术分享图片

二、回归旧版本
10、获取历史版本 在Terminal指令区 git log --pretty=oneline
技术分享图片

11、git reset --hard 需要回归的编码
技术分享图片
12、把修改推到远程服务器 git push -f -u origin master
13、重新更新本地代码 git pull

PyCharm结合github使用

原文:https://www.cnblogs.com/qiuwei1/p/14623123.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!