准备:

Github地址:https://github.com

注册Github帐号

一、新建仓库

使用Github进行代码管理

 进入如下界面:

 使用Github进行代码管理

使用Github进行代码管理

到这里仓库就创建完成了。

 

二、安装Github-window-desktop

安装github客户端

下载地址:https://github-for-windows.en.softonic.com/

安装完成后,在客户端,用github帐号登录

使用Github进行代码管理

安装完成,点击file,会显示几个菜单项

New repository 新建仓库

Add local repository 本地仓库上传

clone repository   github上仓库关联到本地

 

我们这里选择 clone repository,将已创建好的仓库关联在本地创建。

使用Github进行代码管理

输入仓库地址和要下载到本地的位置

点Clone会在本地创建一个文件夹,我们可以把自己的python项目创建在这个文件夹下,之后可以更新到git hub

使用Github进行代码管理

 

摘要和描述要填写,要不然提交是灰色

 点Commit to master提交更新到github

 

 在github上查看,已经更新了

使用Github进行代码管理

 

相关文章:

  • 2021-08-09
  • 2021-12-14
  • 2022-12-23
  • 2021-08-27
  • 2021-07-20
  • 2021-07-10
  • 2022-12-23
  • 2021-08-29
猜你喜欢
  • 2021-11-30
  • 2021-12-14
  • 2021-11-19
  • 2021-07-20
  • 2022-01-13
  • 2022-12-23
  • 2021-08-25
相关资源
相似解决方案