Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update Git Automatically

Tags:

git

updates

I've seen a lot of posts about how to update git repositories, but I want to know if there's a way to automatically update Git itself. I frequently instal Git on new computers, and I feel like every time I do there's a new version, so I have to update all the installations on my other machines. I would like to always have the latest version of Git. Is this possible in Windows? Perhaps with some kind of batch script?

Thanks in advance!

like image 431
Rabadash8820 Avatar asked Sep 15 '25 09:09

Rabadash8820


1 Answers

You could install Git via Chocolatey.

Then you can just run choco upgrade git on each machine.

like image 92
Matthew Strawbridge Avatar answered Sep 18 '25 01:09

Matthew Strawbridge