原文

his is a guide for all the Windows users (not me) out there.
It will explain how to work with a github repository under windows using TortoiseGit.

Let's get started. At this point you should be a collaborator or owner of a github repository.
Download TortoiseGit.
Install it like any other program. There are no special settings, just keep on clicking 'next'.
Now download msysgit.
During this installation you have to set some important settings. Please be sure that you set them correctly.

Adjust the PATH environment

Choose the SSH executable

Choose line endings

After the successful installation of both programs continue with the generation of private and public SSH-key. To do this you have to start 'PuTTY Key Generator' - find it in Start - Programs - TortoiseGit

Just click 'Generate' and move the mouse

After it's done you see your freshly generated ssh public key. You can define a passphrase at this step, but it isn't required.

Save the public AND private key for later usage.

You can copy the key out of the box and add it to your github account.

Now your ready to create a local repository. Create an empty folder and right-click into it.
Choose 'Git Create repository here'.

Now go to the repository settings...

... and set your full name and email that your using at github.

Here you click 'Add New' and paste the github 'Your Clone URL' into the url field.
Select the putty private key we created before, too.

Now we're ready to pull for the first time.
Select 'Pull' from the TortoiseGit menu.

For 'remote' select the 'origin' we added before.
Be sure that 'AutoLoad Putty Key' is checked and for 'Remote Branch' master' is selected (type it if you can select it).

Now click ok and we're done. You should have all the repository files now if you did everything correct.

windows 下使用github相关推荐

  1. windows下如何github ssh 公钥

    windows下如何github ssh 公钥 1. 安装git,从程序目录打开 "Git Bash"  2. 键入命令:ssh-keygen -t rsa -C "em ...

  2. windows下安装github for windows和SourceTree

    欲哭无泪啊,中午开始折腾这玩意的,结果弄到现在,晚饭都没心情吃了,终于被我弄出来了 Git 配置与使用 Git Bash 生成证书 先是安装 git,一定要安装最新版本,一定要安装最新版本,一定要安装 ...

  3. windows 下使用github客户端报错:Failed to publish this branch

    在windows系统下使用github客户端同步的时候报错"Failed to publish this branch",查找原因,发现结果是安装vscode的时候没有检查到git ...

  4. windows 下 配置 github

       github   功能介绍 1. 记录多个版本 2.查看历史操作,可以进行版本回退和前进的控制 3. 多端共享代码,自动合成  Github  与  SVN   1.  SVN 版本集中管理,所 ...

  5. Windows下使用GitHub Pages搭建hexo博客详细教程以及Next主题超全配置

    根据下面的教程搭建的博客见这里 前言 马上要进入研究生了,不能再过浑浑噩噩的日子了,搭建一个小网站,用于记录自己所学的东西.其实,之前在腾讯云1元乞丐版上也搭建过博客,但是呢,只用来扯淡了.这次使用 ...

  6. Windows下给GitHub 配置 GIT 工具时密匙添加问题

    第一步:在GitHub官网(https://github.com/)注册自己的账号,开通属于自己的库: 第二步:配置git工具: 1.在创建完成自己的库之后,下面就要让自己的电脑克隆一个自己所创建的库 ...

  7. windows下生成github ssh key详解

    一.引子: 什么是ssh:ssh是Secure Shell(安全外壳协议)的缩写,建立在应用层和传输层基础上的安全协议.为了便于访问github,要生成ssh公钥,这样就不用每一次访问github都要 ...

  8. Windows下搭建GitHub Pages

    前期准备:github帐号,登陆https://pages.github.com/. 1. Create a repository:建立仓库 Head over to GitHub and creat ...

  9. Windows下Github使用

    Windows下使用GitHub GitHub支持使用SSH协议检出与上传Code, 项目的SSH协议的地址可以在如下页面找到: 在Git CMD中使用 git clone 协议地址 会出现如下错误: ...

最新文章

  1. 机器人启示录 百度影音_机器人启示录游戏下载-机器人启示录安卓版 v1.2.0_5577安卓网...
  2. 用indesign怎么更换名牌姓名_颚式破碎机如何拆卸?耐磨件怎么更换,可以用多久?答案都在这里...
  3. 四、MapReduce和Yarn基本架构
  4. 【C/C 】浅谈C/C 中函数指针与回调函数
  5. VIIRS 学习资料分享
  6. flashfxp中文破解版|flashfxp v5.4绿色破解版下载免注册码(强大的fxp/ftp客户端)
  7. 特发性震颤为什么在喝酒后症状消失?
  8. MySQL技术内幕InnoDB存储引擎
  9. Vue官网下载Vue.js和Vue.min.js
  10. 按摩店用的收银系统多少钱一套
  11. 使用Glide加载圆角矩形图片、圆形图片
  12. 【完全指南】如何在Github上使用Hexo搭建自己的Blog
  13. 阿里巴巴《Linux命令行与shell脚本编程大全》高清版 PDF 开放下载
  14. 数据库课程设计(DatabaseCourseDesign)
  15. 微信开发 注意 js接口安全域名 invail url domain
  16. 2019-2020记罗振宇“时间的朋友”跨年演讲(一)
  17. Supervisor 进程管理
  18. ​也许还有 9 个月,我们就能见到 Apple Car 了
  19. U盘数据丢失如何恢复呢
  20. 建筑图纸怎么查看?有什么CAD快速看图的技巧?

热门文章

  1. node --进行后台的环境搭建
  2. Linux命令总结(之二)Find
  3. 菜鸟学python-基础(2)
  4. Silverlight 游戏开发小技巧:实现街霸4的选人界面
  5. 变革,是领导者的特质
  6. 算法----迷宫问题
  7. 《jQuery、jQuery UI及jQuery Mobile技巧与示例》——9.7 技巧:指定过渡动画
  8. [c++]常对象的特点
  9. windows应用迁移到linux下
  10. java如何获取本机IP