Updating Git in Laragon
-
Hi,
How can we update Git that comes with Laragon:
C:\laragon\bin\git
?I have the latest git installer for Windows. When running the installer it will of course install to
C:\Program Files\git
, so I am wondering how to run this for Laragon. Is it simply a matter of copy and pasting the install files over fromC:\Program Files\git
toC:\laragon\bin\git
? Do I need to worry about whether the install is 64-bit or 32-bit?The current version of Git for Laragon 3.2 is Git 2.9.0. As of Git 2.16.1 I believe it's possible to run
git update-git-for-windows
from the command line so this should be much easier process, however, I can't do that while on 2.9.0.Any help would be appreciated.
Thanks!
-
I guess another option is to update Cmder to use the system version of Git?
There's a discussion here...
-
@haakym : In theory you can. You may try:
- Rename C:\laragon\bin\git to git.bak
- Copy C:\Program Files\git to C:\laragon\bin\git
-
Thanks. That worked just fine!
-
every time git or github has the latest version, i will remove git in laragon and replace it with a new one. only the new git will have a link in windows explorer. I like to use cmder.