You are using Git 0.0.0.0 which doesn't define %HOME% environment variable properly. Consider updating Git to a newer version or define %HOME% to point to the place where the global .gitconfig is stored (it is usually %USERPROFILE% or %HOMEDRIVE%%HOMEPATH%). 

In android studio, this error pops up at commit. What to do ?

Closed due to the fact that off-topic participants Mikhail Vaysman , user194374, Denis Bubnov , pavel , tse 16 Feb '17 at 20:18 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - Mikhail Vaysman, Community Spirit, Denis Bubnov, pavel, tse
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • If in the console to execute git --version , what shows? - Nick Volynkin
  • git version 2.11.1.windows.1 - Alexey
  • 2
    It looks like the settings in Android Studio have gone astray and it does not find the path to git. Try to delve into the environment settings in the VCS section. - Nick Volynkin
  • Well, you can always work through the console)) - Nick Volynkin
  • one
    @NickVolynkin, so you yourself have put forward a good version - the environment has flown down. When loading the environment came to default value. - 0andriy

0