Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<pre><code>git clone git://kaspersorensen.com/wp-content.git </code></pre> <p>Is failing because you probably don't have git-daemon running.</p> <pre><code>git clone ssh://kaspersorensen.com/wp-content.git wp-content/ </code></pre> <p>Is failing because your local username and the remote username are different so you need to add the remote username to the url.</p> <hr> <pre><code>git clone kasperso@kaspersorensen.com:www/wp-content </code></pre> <p>Is the only possible command that will work based on the information you've provided.</p> <p>Note that this is not using the ssh:// url pattern. You did not provide us with the absolute path so it is impossible to know what the correct url would be using the ssh:// url. Additionally the <strong>www</strong> directory has been added to the url and the <strong>.git</strong> has been removed to match the path shown. <hr> Edit: <code>bash: git-upload-pack: command not found fatal: The remote end hung up unexpectedly</code></p> <p>You are getting this error because git is not installed into the default $PATH. It is probably installed somewhere like <code>/usr/local/bin/git</code>. The only way to fix this with changing things on the server is to use the <code>-u</code> option on all commands that interact with the server.</p> <p>On the server run <code>which git-upload-pack</code> then use the location from that in the following command.</p> <pre><code>git clone -u /path/to/git-upload-pack kasperso@kaspersorensen.com:www/wp-content </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload