How to clone git to a server?

Given a Git web interface, where can you get the git clone file?

  • For example, this website from Apache: https://git-wip-us.apache.org/repos/asf What link can I follow to  get the .git files?

  • Answer:

    The link you have mentioned is a directory index. So, to access any file, simply append it to the url. For example, consider the first .git file on the page: accumulo-bsp.git. If you want to clone the repo, just try this: git clone https://git-wip-us.apache.org/repos/asf/accumulo-bsp.git I think you should be able to clone the repository.

Saswat Padhi at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.