-
[WSL] Ubuntu에서 git version 업데이트 하기카테고리 없음 2023. 1. 29. 21:53반응형
git에 보안 취약점이 발견되어 버전을 2.39.1로 올려야 한다는 글을 보았다.
그래서 git 버전을 확인해 보니 2.34.1이었다
그래서 git version 올리는 방법을 찾아보니
1.git-core ppa추가
sudo add-apt-repository ppa:git-core/ppa
2. 새로운 버전의 Git 설치
sudo apt update sudo apt install git
3.Git version 확인하기
git --verison
git 버전이 올라간 것을 확인할 수 있다.
참고
https://www.bytesized.xyz/how-to-update-git-in-ubuntu-windows-subsystem-for-linux/
How to update Git in Ubuntu + Windows Subsystem for Linux
Learn how to update Git to the most recent version using WSL and Ubuntu.
www.bytesized.xyz
https://launchpad.net/~git-core/+archive/ubuntu/ppa
Git stable releases : “Ubuntu Git Maintainers” team
The most current stable version of Git for Ubuntu. For release candidates, go to https://launchpad.net/~git-core/+archive/candidate .
launchpad.net