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

​

相关推荐
考虑考虑12 小时前
git刷新远程分支列表
git·后端·gitlab
AI大模型-小华17 小时前
Codex 自动测试怎么用?从生成测试用例到修复失败用例
git·测试用例·ai编程·软件开发·codex·chatgpt pro·codex cli
七分辣度1 天前
GitHub/Git 常用命令及使用场景
git·github
慧都小项2 天前
MyEclipse Inline Diff 实用指南:逐处核对 AI 修改再提交
git·ai编程·myeclipse·java 代码审查·ai 代码修改
德育处主任3 天前
让 Claude Code 在你睡觉时接着干活:tmux、权限策略与验收清单
git·ai编程·命令行
为思念酝酿的痛5 天前
Git基本操作
git·github
wno7046 天前
常用的Git命令清单
大数据·git·elasticsearch
真上帝的左手6 天前
3. 代码管理-Git-进阶
git·源代码管理
YIN_尹7 天前
【git原理与使用】git基本操作及底层原理(二)
大数据·git·elasticsearch
程序员爱德华7 天前
Git 命令
git