Previously, I used tortoisehg to manage the project, and I never used tortoisegit. These two products respectively made a graphical interface for the Distributed Management Tool Hg and git to make it easier to use. You do not need to remember many commands. In addition to the differences between Hg and git, the difference between tortoisehg and torgoisegit is that tortoisehg has integrated the version management tool Hg, while tortoisegit relies on msysgit. 1. Install msysgit first. When toitoisegit is installed, the system will automatically detect and set the GIT directory as follows:
2. Configure tortoisegit
Download: http://code.google.com/p/tortoisegit/downloads/list
Install tortoisegit, and keep it all by default.
Configure the GIT path:
Right-click tortoisegit-setting-General-msysgit on the desktop, and specify:
D: \ webdevelopment \ git \ portablegit \ bin.
Create an SSH key:
Start Menu-tortoisegit-puttygen, generate, and save the Private Key to the local device (Key passphrase is not required). For example, save it to: D: \ webdevelopment \ git. The SSH key generated in the copy dialog box is similar:
Ssh-RSA
.....
.....
... = Rsa-key-20120218
Tortoisegit-setting-Git-config, and enter name and email.
GitHub has two connection protocols: SSH and HTTPS. The following describes how to connect the two methods: https is more convenient. Enter the HTTPS address in the address bar of the browser in the URL field:
There are two types of proxy software available for SSH connection: putty (GitHub only provides support for OpenSSH .) openSSH that comes with GIT: the SSH that comes with GIT can be found in the GIT installation directory \ bin \. If you have previously connected to gitbash, you can choose this method.
In the first step of getting started, set up git issues are listed as follows and solutions are provided. If you do not need a graphical tool, you need to set up an SSH connection proxy when you directly connect to GitHub using gitbash. The solution is as follows: Problem: Bad file occurs when test everything out:
1) Create an SSH config file:
VI ~ /. Ssh/config
Content:
[Plain]View Plain Copy
- <Span style = "font-size: 18px;"> host github.com
- Proxycommand ~ /. Ssh/ssh-https-tunnel % H % P
- Port 443
- Hostname ssh.github.com </span>
2) download ssh-https-tunnel can be saved from the http://zwitterion.org/software/ssh-https-tunnel/ssh-https-tunnel to your git ~ /. In the SSH directory, and rename it ssh-https-tunnel.
At the same time, you need to open this file and modify the following:
[Plain]View Plain Copy
- <Span style = "font-size: 18px;"> # proxy details
- My $ host = "172.17.18.84 ";
- My $ Port = 8080;
- # Basic proxy Authentication-leave empty if you don't need it
- My $ user = "";
- My $ pass = ""; </span>
Change to your actual proxy server address and port. If you need a user name and password, enter the following.
Use tortoisegit in indows to manage GitHub Projects