博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
windows 下使用github
阅读量:5974 次
发布时间:2019-06-19

本文共 1770 字,大约阅读时间需要 5 分钟。

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  .
Install it like any other program. There are no special settings, just keep on clicking 'next'.
 
Now download  .
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.

转载地址:http://tlbox.baihongyu.com/

你可能感兴趣的文章
安装和配置Tomcat
查看>>
实验三
查看>>
第一次实验总结
查看>>
openssh for windows
查看>>
PostgreSQL cheatSheet
查看>>
ASP.NET Core 2 学习笔记(三)中间件
查看>>
转:Mosquitto用户认证配置
查看>>
SpringBoot上传文件到本服务器 目录与jar包同级
查看>>
python开发_difflib字符串比较
查看>>
被解放的姜戈01 初试天涯
查看>>
三极管工作区在Spectre中的表示
查看>>
HT for Web的HTML5树组件延迟加载技术实现
查看>>
ASP.NET MVC 3 Razor Nested foreach with if statements
查看>>
【Mysql】命令行
查看>>
Asterisk 安装与配置
查看>>
利用日志记录所有LINQ的增,删,改解决方案
查看>>
实例讲解PostSharp(一)
查看>>
graylog 客户端的安装配置
查看>>
CentOS6.4_X86_64 安装Drupal-7.31必须成功版!
查看>>
驱动学习之驱动和应用的接口
查看>>