Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Git: ERROR: Unable to determine version

Erwin Lazet September 22, 2013

Hi,

I am currently busy trying to migrate from SVN to GIT (Bitbucket) but the migration verification step already fails when trying to retrieve the version of the local GIT install:

C:\Data\Tools>java -jar svn-migration-scripts.jar verify

svn-migration-scripts: using version 0.1.1b58c71

Git: ERROR: Unable to determine version.

Subversion: using version 1.8.3

Could you please point me out what is missing here? How does the Java archive check the GIT version? I am using Windows and added the GIT_EXEC_PATH variable to the Environment variables. Thanks in advance for your answer(s). Regards, Erwin

3 answers

2 votes
Erwin Lazet September 24, 2013

I managed to complete it now by installing SilkSVN (32bit) instead of VisualSVN (64bit). It's important to run svnserv when using Windows (avoid the file URL's).

Yunier Perez June 4, 2014

but the initial problem was about git:

Git: ERROR: Unable to determine version.

how did you manage to solve that I'm having the same problem here, svn is verified ok... maybe is because I'm using 64bits versions of java and svn??

Mehmet Kazgan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2014

I had the same issue restarting command line after installing git worked for me

1 vote
darren_dickerson October 19, 2015

Make sure you allow Git to run from a command prompt in setup.

0 votes
Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 24, 2013

Erwin: What's the result of running 'git --version' from the command line?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events