How to install the latest git in WSL (Ubuntu)

Compared with simulation environments like Cygwin, Win10’s WSL indeed solves the need for Linux‑related development applications under Windows. Here is a simple record of how to upgrade git in WSL Ubuntu to the latest version, for future reference:

sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git

git --version
git version 2.22.0

https://tecadmin.net/install-git-on-ubuntu/

Reference article

博主友情提示:

如您在评论中需要提及如QQ号、电子邮件地址或其他隐私敏感信息,欢迎使用>>博主专用加密工具v3<<处理后发布,原文只有博主可以看到。