Git - GitForWindows

官网

Git - Downloading Package

下载链接:

https://github.com/git-for-windows/git/releases/download/v2.52.0.windows.1/Git-2.52.0-64-bit.exe

当前版本下载的文件:Git-2.52.0-64-bit.exe

可以直接点击下载安装,也可以适用命令行安装,如下面描述。

Using winget tool

Install winget tool if you don't already have it, then type this command in command prompt or Powershell.

winget install --id Git.Git -e --source winget

安装过程:

选择编辑器这里,根据需要选择。

设置Git初始化的默认分支名称。

在Path中包含Git命令。

使用Git安装时自带的OpenSSH - ssh.exe。

选择HTTPS认证方式。

换行符转换设置。

设置操作终端。

设置git pull的操作行为。

信任证书管理。

GitHub - git-ecosystem/git-credential-manager: Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.

git-credential-manager/docs/faq.md at 1b3f77efe12efffaadac7c5a218822896e657a39 · git-ecosystem/git-credential-manager · GitHub

其他选项。

开始安装,安装时按住标题栏或者截图中,安装过程是暂停的。

安装完成。

ReleaseNotes.html

file:///C:/Users/suhshguo/AppData/Local/Programs/Git/ReleaseNotes.html

启动bash。

Windows启动菜单栏:


Git for Windows

https://gitforwindows.org/

Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM ( https://git-scm.com/ ) to Windows while providing appropriate user interfaces for experienced Git users and novices alike.

Git BASH

Git for Windows provides a BASH emulation used to run Git from the command line. *NIX users should feel right at home, as the BASH emulation behaves just like the "git" command in LINUX and UNIX environments.

Git GUI

As Windows users commonly expect graphical user interfaces, Git for Windows also provides the Git GUI, a powerful alternative to Git BASH, offering a graphical version of just about every Git command line function, as well as comprehensive visual diff tools.

Shell Integration

Simply right-click on a folder in Windows Explorer to access the BASH or GUI.

Git Credential Manager

Git Credential Manager provides secure credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.

https://github.com/git-ecosystem/git-credential-manager

相关推荐
恋喵大鲤鱼9 小时前
git mv
git·git mv
Patrick_Wilson12 小时前
Git Worktree 原理详解:从 objects / refs 看懂多分支并行与多 Agent 协作
git·面试·ai编程
yaoxiaoganggang12 小时前
克隆 Superpowers 的规则库到你的本地(或者直接作为 Git Submodule)
人工智能·经验分享·git·ai编程
Python私教15 小时前
用 Claude Code 做大型重构不翻车:分批+Git 兜底+验证闭环的实战流程(2026)
git·重构·ai编程·代码重构·工程实践·claude code
Shawn Dev16 小时前
团队协作中的 Git Tag 最佳实践:从入门到精通
大数据·git·elasticsearch
独隅17 小时前
Git/GitHub/GitLab/Gitee 核心对比指南
git·gitlab·github
佛山个人技术开发18 小时前
GitCode个人技术开发者总结完整使用指南
windows·git·svn·github·gitcode
江华森18 小时前
基于 Git 的自动集成交付(Git-Driven CI/CD)实战
git·ci/cd
Dontla19 小时前
.gitkeep文件作用(让Git追踪空目录,使该目录能被纳入版本控制)!.gitkeep
大数据·git·elasticsearch
shandianchengzi20 小时前
【记录】VSCode|Windows 下 VS Code 配置 Git Bash 为默认终端完整教程
windows·git·vscode·bash