美文网首页
Windows 下 Git 的安装

Windows 下 Git 的安装

作者: acc8226 | 来源:发表于2020-02-14 21:28 被阅读0次

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 到环境变量.

相关文章

  • Git使用

    windows下安装git windows10下安装git[https://blog.csdn.net/qq_32...

  • Git常用操作

    Windows下GIT安装及使用 初次运行 Git 前的配置 git工具安装 git安装包: ftp://192....

  • git本机生成SSH Key

    Git 中的SSH key的生成 1.1 安装git:    windows下安装git很方便,github上提供...

  • Git的使用方法与GitHub项目托管方法

    Git的安装 Windows上安装Git 访问网址:https://git-for-windows.github....

  • Git 的基本使用

    Git相关命令 安装Git 在Windows上安装Git (我是使用的Windows)在Windows上使用Git...

  • Node.js的安装

    一、Windows下安装Node.js 1.在Windows下安装Node.js需先安装Git Bash,路径gi...

  • [工具使用]Git经验笔记

    Git笔记 git安装(windows10 & Ubuntu) windows10:git-for-windows...

  • 导入Git

    Windows下安装Git 在Windows环境中,导入Git较简单的方法是用msysGit,在其Setup程序中...

  • git的相关学习

    一、git的安装 windows的安装:git for windows安装完成后,在命令行输入git --vers...

  • git的安装与基本使用方法

    1.git的安装 1.1 在Windows上安装Git msysgit是Windows版的Git,从https:/...

网友评论

      本文标题:Windows 下 Git 的安装

      本文链接:https://www.haomeiwen.com/subject/edegvctx.html