I have noticed that on Version Control window, in tabs Log and Local changes there is no information. Only following error appears:
Error updating changes: Cannot identify version of git executable C:Program FilesGitcmdgit.exe
When I have clicked Test in Settings > Version Control > Git, entered above path in Path to Git executable following window appeared: Link
After typing in CMD command git —version I get output:
git version 2.17.0.windows.1
What is more after writing some code Intellij is not highlighting changes.
I don’t have any idea why it is not working… Any ideas?
asked Jan 14, 2019 at 16:49
WittWitt
1831 gold badge3 silver badges12 bronze badges
3
I am able to resolve the issue.
My GIT installation directory: C:installationsGit
WHAT WORKED
If I point the Git executable path to (C:installationsGitmingw64bingit.exe) it worked.
WHAT DIDN’T WORKED
answered Oct 7, 2020 at 13:29
Vinayak DornalaVinayak Dornala
1,5991 gold badge20 silver badges27 bronze badges
What worked for me in Mac osx
~ ⌚ 8:00:57
$ which git
/Users/shashwat/.aw/pex_resources/scripts/binaries/git
Ans setting the path in Intellij
answered Jun 16, 2021 at 2:35
drukdruk
5336 silver badges16 bronze badges
For me, only invalidating caches and restarting intellij worked.
answered Feb 26, 2021 at 9:07
1
For some reason, IntelliJ cannot get any output from the command line client. Something similar is reported — https://youtrack.jetbrains.com/issue/IDEA-82445
It might be caused by antivirus software or UAC.
answered Jan 14, 2019 at 17:07
Dmitrii SmirnovDmitrii Smirnov
6,9831 gold badge19 silver badges28 bronze badges
0
- go to the terminal and type
git --exec-path
to get your git path. - then go to IntelliJ and configure it, Click browse and select your git path.
- select git and hit test.
Note: on Mac Os, use /
in finder to navigate easier.
answered May 16, 2022 at 21:29
Rstar37Rstar37
4445 silver badges6 bronze badges
i got the same problem, and the config is right,
git works just when i cut down the internet, it got from the IT part in my company.
answered Nov 17, 2020 at 2:09
103style103style
611 silver badge5 bronze badges
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Closed
HareemWaqas opened this issue
Mar 11, 2019
· 9 comments
Closed
Cannot Run Git
#2576
HareemWaqas opened this issue
Mar 11, 2019
· 9 comments
Comments
An error occur when Opening project in Android Studio, By following these steps
In the menu bar, click File > New > Project from Version Control… > Git
OR
(if Quick Start menu open): Check out project from Version Control > Git
Enter the Git URL you obtained from Fork the Git repository.
Error : Cannot Run Git
Illegal char :> at index 5:
https://github.com/YourName/apps-android-commons.git
Can you try cloning from the command line?
Go the folder where you wish to clone the repo and use this command:
git clone https://github.com/YourName/apps-android-commons.git
yes, thank you
I have tried but still not working
What operating system are you using?
What is the result of running the command in a terminal:
Are you able to clone other repositories? e.g. how about
git clone https://github.com/Microsoft/calculator
If it doesn’t work but has different output could you post it here?
Also another thing to try is maybe clone with the Git URL instead of HTTPS — it shouldn’t make a difference but from the sounds of the error it seems to be getting stuck processing the http prefix.
Your git URL:
git@github.com:HareemWaqas/apps-android-commons.git
Thanks domdomegg!
I am using Windows10, trying again and again but still stuck, Let me follow your given steps ,i’ll upload screen shots
@HareemWaqas I suggest you ask at StackOverflow or another developers forum, since this seems to be independent from the app.
I have noticed that on Version Control window, in tabs Log and Local changes there is no information. Only following error appears:
Error updating changes: Cannot identify version of git executable C:Program FilesGitcmdgit.exe
When I have clicked Test in Settings > Version Control > Git, entered above path in Path to Git executable following window appeared: Link
After typing in CMD command git —version I get output:
git version 2.17.0.windows.1
What is more after writing some code Intellij is not highlighting changes.
I don’t have any idea why it is not working… Any ideas?
asked Jan 14, 2019 at 16:49
WittWitt
1831 gold badge3 silver badges12 bronze badges
3
I am able to resolve the issue.
My GIT installation directory: C:installationsGit
WHAT WORKED
If I point the Git executable path to (C:installationsGitmingw64bingit.exe) it worked.
WHAT DIDN’T WORKED
answered Oct 7, 2020 at 13:29
Vinayak DornalaVinayak Dornala
1,5991 gold badge20 silver badges27 bronze badges
What worked for me in Mac osx
~ ⌚ 8:00:57
$ which git
/Users/shashwat/.aw/pex_resources/scripts/binaries/git
Ans setting the path in Intellij
answered Jun 16, 2021 at 2:35
drukdruk
5336 silver badges16 bronze badges
For me, only invalidating caches and restarting intellij worked.
answered Feb 26, 2021 at 9:07
1
For some reason, IntelliJ cannot get any output from the command line client. Something similar is reported — https://youtrack.jetbrains.com/issue/IDEA-82445
It might be caused by antivirus software or UAC.
answered Jan 14, 2019 at 17:07
Dmitrii SmirnovDmitrii Smirnov
6,9831 gold badge19 silver badges28 bronze badges
0
- go to the terminal and type
git --exec-path
to get your git path. - then go to IntelliJ and configure it, Click browse and select your git path.
- select git and hit test.
Note: on Mac Os, use /
in finder to navigate easier.
answered May 16, 2022 at 21:29
Rstar37Rstar37
4445 silver badges6 bronze badges
i got the same problem, and the config is right,
git works just when i cut down the internet, it got from the IT part in my company.
answered Nov 17, 2020 at 2:09
103style103style
611 silver badge5 bronze badges
При использовании Pycharm в нижнем правом углу сообщение об ошибке «Невозможно запустить Git», как показано ниже
Пожалуйста, проверьте следующие действия:
- СкачатьGithub For WindowsКлиент установлен.
- После успешной установки подключите свою учетную запись.
- Затем установите вашу среду переменной, обратитесь к пути, например: D: Git bin
Также возможно, что переменная среды Git не устанавливается, вручную вручную вручную установить Pycharm вручную иллюстрацию Path Git.
Лабораторная среда:
Windows10
Pycharm2018.2
Git-2.18.0-64-bit
Подробные иллюстрации
Открыть файл-> Настройки …
Version Control -> Git
Path to Git executable:
Найти каталог установки GIT
Затем проверьте, всплывающую на рисунке ниже, затем применить это нормально.
Pycharm «Cannot Run Git» and a series of Git problem solving methods
tags: Pycharm Cannot run Git Git
When using Pycharm, the error message «Cannot Run Git» is displayed in the lower right corner as shown below.
Please check the following steps:
- DownloadGithub For WindowsClient and install.
- After successful installation, connect to your account.
- Then set your environment variables, refer to the path such as: D:Gitbin
It is also possible to not set the Git environment variable. The following is a detailed diagram of the Pycharm manual setting of the Git path.
lab environment:
Windows10
Pycharm2018.2
Git-2.18.0-64-bit
Detailed illustration
Open File->settings…
Version Control -> Git
Path to Git executable:
Find the Git installation directory
Then Test, pop up the picture below, then Apply will be ok
Intelligent Recommendation
Cannot Run Git
background Today, upgrade the Mac OS version, then open WebStorm, suddenly popping up in the lower right, as follows: Solution 1, install XCode-SELECT Perform the following command in the terminal: 2,…
Git Pull Problem Solving Error: Cannot Lock Ref
problem existgit pullAt the timeerror: cannot lock ref solution Run the following command to solve Analysis: This will delete references to remote branches in the folder .Git / refs / remotes / Origin…
More Recommendation
GIT series of problem solutions
GIT series of problem solutions GIT series of problem solutions Question one The following untracked working tree files would be overwritten by checkout Question one The following untracked working tr…
Git push reject problem solving
After Github creates an account (you can choose to create a github uploaded document locally for easy management or not). Then use the terminal to enter the folder you want to upload, just enter the f…
Myeclipse problem solving conflicts in git
In multiplayer co-development, git conflict is inevitable 1. First of all, when we submit the code, you should team-> pull the code, find the conflict: 2. At this tim…
git basic operations and problem-solving
Article Directory 1. Basic Operation 2. Based on the Push method Gerrit 3. submit a complete cycle 3.1 git status to see the changes add file status 3.2 git add «Information» Submit 3.3 git …