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

相关推荐
阿民不加班11 小时前
【Git】git拉取远端但是本地存在不想提交文件处理
git
Selina K11 小时前
在windows安装git
git
周杰伦fans18 小时前
如何将 Feature 分支同步到 Master 主分支:一次完整的 Git 合并实战
git
jiayi_199918 小时前
git创建new branch
git
__Witheart__19 小时前
通过交互式 Rebase 合并部分提交到远程分支的操作步骤
git
魔都吴所谓20 小时前
【Tools】Repo 工具完整使用手册
git
tianyuanwo20 小时前
跨 Gerrit 项目迁移分支并保留完整历史:一份可操作的 Git 指南
git·代码迁移
玄奕子20 小时前
VS Code 上传 GitHub 全流程(Windows 环境):HTTP 与 SSH 两种方案(含常见报错排查)
git·http·ssh·github·嵌入式开发
一只游鱼20 小时前
如何让本地的敏感配置文件不上传到git仓库
git·elasticsearch
渣渣馬1 天前
shell的if多条件
git·ssh