- Rongsen.Com.Cn 版权所有 2008-2010 京ICP备08007000号 京公海网安备11010802026356号 朝阳网安编号:110105199号
- 北京黑客防线网安工作室-黑客防线网安服务器维护基地为您提供专业的
服务器维护
,企业网站维护
,网站维护
服务 - (建议采用1024×768分辨率,以达到最佳视觉效果) Powered by 黑客防线网安 ©2009-2010 www.rongsen.com.cn
作者:黑客防线网安win7教程网 来源:黑客防线网安win7教程网 浏览次数:0 |
Git 是 Linux Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。目前Git已经可以在windows下使用,主要方法有二:msysgit和Cygwin。Cygwin和Linux使用方法类似,Windows版本的Git提供了友好的GUI(图形界面),安装后很快可以上手,此处我们主要讨论基于msysgit的Git安装和使用。 文档名称 Win7上Git安装及配置过程 创建时间 2012/8/20 修改时间 2012/8/20 创建人 Baifx 简介(收获) 1、在win7上安装msysgit步骤; 2、在win7上安装TortoiseGit步骤; 3、在VS2010中集成Git方法和步骤。 参考源 Git的配置与使用 http://wenku.baidu.com/view/929d7b4e2e3f5727a5e962a8.html
TortoiseGit是TortoiseSVN的Git版本,TortoiseGit用于迁移TortoiseSVN到TortoiseGit。一直以来Git在Windows平台没有好用GUI客户端,现在TortoiseGit的出现给Windows开发者带来福音。我们将在64位win7操作系统上安装Git,并使用GUI界面,则需同时安装msysGit和TortoiseGit。
2、阅读TortoiseGit官方安装说明:
http://code.google.com/p/tortoisegit/wiki/SetupHowTo
Just download the setup package for your system and install it. If you are running a 64 bit system, you do not need to download and install the 32 bit version: The 32 bit shell extension is included in the 64 bit installer since TortoiseGit 1.7.3.0.
If you want to use TortoiseGit in a Win2K environment (only 1.6.5 and below support Win2K), please install aspx?id=18909" target="_blank" style="word-wrap: break-word; text-decoration: none; color: rgb(25, 89, 155);">GDI+ before you install TortoiseGit. However, running these old versions is not recommended (no utf-8 and separate-git-dir support).
Before upgrading you should read the ReleaseNotes.
Just download the setup package for your system and install it. The old version will be replaced automatically.
If you are upgrading from 1.7.3.0 or older and you have installed the 32-bit version on a 64-bit system you have to deinstall the 32-bit version first.
Common problems (installer aborts with an error message)
"This installation package is not supported by this processor type. Contact your product vendor."
This means you are trying to install the 64-bit version of TortoiseGit on a normal 32-bit operating system. You need to download and use the correct msi file for your OS. For normal 32-bit OS, make sure the msi filename does not have "64-bit" in it.
"Please wait while the installer finishes determining your disk space requirements."
Cleanup/empty the temp-directory (e.g. C:\Users\<your user>\AppData\Local\Temp, C:\User and Settings\<your user>\Local Settings\Temp, c:\Windows\Temp\).
由如上说明,我们寻找要下载的对应安装包,如下。
二、下载安装包
1、TortoiseGit下载地址:
http://code.google.com/p/tortoisegit/downloads/list
本次下载版本——TortoiseGit-1.7.12.0-64bit.msi
TortoiseGit 1.7.12.0 64bit
x64 Featured
2、msysgit下载地址:
http://code.google.com/p/msysgit/downloads/list
本次下载版本——Git-1.7.11-preview20120710.exe
Full installer for official Git for Windows 1.7.11
Featured Beta
三、安装过程
安装顺序:首先安装msysgit;然后安装TortoiseGit。
1、安装msysgit。
a、安装包下载完成后,双击进入安装界面,如下图:
b、两步next后选择安装目录,如下图:
c、next进入Git安装模块选择,默认,如下图:
d、next进入Git setup界面,“Select start menu folder”,默认,如下图:
e、next进入Git Setup界面,“Adjusting your PATH environment”,选择默认值“Use Git Bash only”,如下图所示:
f、next进入Git Setup界面,“Configuring the line ending conversions”,选择换行格式,选择“Checkout as-is, commit Unix-style line endings”,如下图所示:
我要申请本站:N点 | 黑客防线官网 | |
专业服务器维护及网站维护手工安全搭建环境,网站安全加固服务。黑客防线网安服务器维护基地招商进行中!QQ:29769479 |