12 Windows下 Git 的安装

简介: Git windows版本官方下载地址https://git-scm.com/download/win配合 Windows 下主推小乌龟 Git拓展.https://tortoisegit.org/download/ (请选择正确的 32 / 64位版本)

Git windows版本官方下载地址


https://git-scm.com/download/win


配合 Windows 下主推小乌龟 Git拓展.


https://tortoisegit.org/download/ (请选择正确的 32 / 64位版本)


为了便携, 我这里下载了便携版的软件.


这个版本的 Git for Windows 是可移植的,也就是说不需要

它将运行在您放置它的任何目录,甚至

它不会将永久的记录写入

Windows 注册表。“安装”不需要管理员权限。


这个包 包含在一个7-zip 归档文件中,文件名为表单.‘ PortableGit-versionstring. 7 z.exe’。 这是一个自解压缩档. 双击即可安装. 建议命名为PortableGit-versionstring. 方便好记.


NOTE: if you decide to unpack the archive using 7-Zip manually, you must

run the post-install.bat script. Git will not run correctly otherwise.


如果您熟悉类 unix 的 shell,只需启动‘ git-bash.exe’即可。


如果没有,就启动‘ git-cmd.exe’。


或者,您可以执行这些命令来修改% path%


临时变量:

set gitdir=c:\portablegit
set path=%gitdir%\cmd;%path%


Adjust the 'gitdir' according to your setup.  As long as you do not close the command window, you can now simply type "git" or "gitk" to really call "c:\portablegit\cmd\git.exe" or "c:\portablegit\cmd\gitk.exe".


小乌龟 Git 的使用



小乌龟的中文文档写的很好, 非常有参考价值.  由于和小乌龟 SVN 类似, 所以不在此详细介绍.


总结



平常建议启动‘ git-bash.exe’即可。如果要添加该git解压路径的 cmd 到环境变量。



目录
相关文章
|
3天前
|
关系型数据库 MySQL 数据安全/隐私保护
windows mysql8 安装后 提示密码不对,修改下密码认证方式就可以了
windows mysql8 安装后 提示密码不对,修改下密码认证方式就可以了
16 3
|
3天前
|
IDE Java 开发工具
如何在Windows操作系统上安装PyCharm?
【7月更文挑战第5天】如何在Windows操作系统上安装PyCharm?
100 59
|
9天前
|
运维 安全 数据管理
数据管理DMS产品使用合集之windows上安装网关时,token都是新的,报错:无效的token,该怎么办
阿里云数据管理DMS提供了全面的数据管理、数据库运维、数据安全、数据迁移与同步等功能,助力企业高效、安全地进行数据库管理和运维工作。以下是DMS产品使用合集的详细介绍。
14 4
|
10天前
|
Windows
Windows安装Kibana 7.9.1
Windows安装Kibana 7.9.1
9 1
|
12天前
|
Linux 测试技术 开发工具
CentOS Linux 8使用阿里源(安装jdk11、git测试)
CentOS Linux 8使用阿里源(安装jdk11、git测试)
51 1
|
13天前
|
JavaScript Ubuntu Linux
蓝易云 - linux中安装nodejs,卸载nodejs,更新nodejs,git
请根据自己的Linux发行版和版本选择合适的命令。
15 2
|
13天前
|
应用服务中间件 Docker Windows
windows基于Docker安装并启动Tomcat(解决404)
windows基于Docker安装并启动Tomcat(解决404)
48 1
|
2天前
|
前端开发 应用服务中间件 nginx
安装Windows版nginx以及部署前端代码并就解决刷新出现404
安装Windows版nginx以及部署前端代码并就解决刷新出现404
8 0
|
2天前
|
NoSQL Redis Windows
redis双击闪退解决方法,windows版的redis资源,redis安装,win资源可下
redis双击闪退解决方法,windows版的redis资源,redis安装,win资源可下
|
3天前
|
NoSQL Redis Windows
windows安装redis
windows安装redis
9 0