Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8698907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:49:36+00:00 2026-06-13T01:49:36+00:00

I have set up a gitstack repo on a local server, I have also

  • 0

I have set up a gitstack repo on a local server, I have also signed up for a free github account just to see what its like.

But when I try to clone a repository from either my local repository or git hub repository I get this error:

Transport Error
Cannot List the available branches
Reason:
Exception caught during execution of ls-remote command

What does this mean and how do i go about solving this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T01:49:37+00:00Added an answer on June 13, 2026 at 1:49 am

    After having this problem with Egit I went back to using GitBash to try to create, push and pull repositories. I was then given this error:

    Git Bash error:

    fatal: http://xx.xx.x.xxx/mjtest.git/info/refs not found: did you run git update-server-info on the server?
    

    Egit error:

    Transport Error
    Cannot List the available branches
    Reason:
    Exception caught during execution of ls-remote command
    

    I found that the solution to both the GitBash and the Egit error was to create an empty file called git-daemon-export-okand place it directly into the xxxx.git root directory of the repository on the server.

    The solution explained:

    I set up a repository in gitstack called mjtest and create myself a new username and password and add myself to the repository with read and write access.

    This is what I then do in GitBash:

    I set up my local repo:

    git config --global user.name "XXXXXXXX"
    git config --global user.email XXXXXXXX
    mkdir ~/mjtest
    cd ~/mjtest
    git init
    touch README
    

    Then I create the empty file:

    touch git-daemon-export-ok
    

    So now we have a local repository that has a file called README and our git-daemon-export-okfile in it.
    We now need to copy the git-daemon-export-okfile and place it directly into the mjtest.git folder in the server.
    Once that is done the git-daemon-export-ok file can be deleted from the local repository, as it just needs to be on the server.

    Adding, Commiting and Pushing:

    git add README
    git commit -m 'first commit'
    git remote add origin http://XX.XX.X.XXX/mjtest.git
    git push origin master
    

    This should work and you should be able to go onto your gitstack server and see your first commit.

    I then went back onto Egit and cloned the http://XX.XX.X.XXX/mjtest.git repository and it worked.

    Now both push and pull work in GitBash and Egit!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have set up a FTP server with Apache FTP server on local machine,
I have set up a WCF service on a server which lives in its
I have set a background on the data-role=page element like so <div data-role=page style=background:
I have set up VisualSvn Server, created a repository and added Visual Studio solution
I have set up subclipse and my svn server to run over ssh. Everything
I have set up an ISPconfig server and am now trying to install curl.
I have set up custom error on my server and i'm redirecting to a
I have set a button onTouchListener and I would like to replace it with
I have set up a connection with a rather large https server and I
I have set-up a SkyDrive account to use as an off-site backup so when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.