A
A
Arman2022-02-28 07:45:14
git
Arman, 2022-02-28 07:45:14

Git different versions on windows 10?

Good morning
Tell me what could be the problem
Installed the latest version of Git
On the command line I get the version git version 2.35.1.windows.2
In the console I get the version git version 2.19.2.windows.1621c531e07a89744899579.png621c5326110a3660423706.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arman, 2022-03-02
@Sanya2000

1) When I installed the Laragon program, Git loaded with it, as a result, I had two Git on the PC, but I didn’t know this
2) The console turns out to be a shell of an additional program that came with Laragon and when I tried to get the Git version in the console, it issued the Git that was installed along with Laragon
3) I solved this issue with the help of the Git community located on the official website https://git-scm.com
I was advised to type the echo %PATH% command into the command line and into the console, as a result, I realized that the console uses Git which is D:\laragon\bin\git\cmd and the command line used the Git that I installed myself D:\Git\cmd
4) I thought that the console and the command line are the same)) in the end I deleted Laragon
621ef6fe3179b976153693.png621ef7030041a410073922.png

V
Vladimir Korotenko, 2022-02-28
@firedragon

most likely you have some kind of idea, she brought the git with her

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question