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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Git: ERROR: Unable to determine version

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

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).

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??

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

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

0 votes
Jeff Thomas Atlassian Team Sep 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
Community showcase
Published in DevOps

GitHub Script with GitHub Actions Automating Workflows

Hello folks, This is a series of articles where I explain GitHub Script with GitHub Actions and how you can automate publishing data on Atlassian & GitHub Platform based on the results of Workf...

129 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you