Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You want to know the <em>path</em> to your repository, not the <em>name</em>.</p> <p>Assuming that your repository is stored under <code>$HOME/myrepo</code>, you could clone it that way:</p> <pre><code>git clone http://linux_server_ip/~linux_user/myrepo </code></pre> <p>But cloning via HTTP, you cannot push back changes to the server, so better use the SSH protocol:</p> <pre><code>git clone ssh://linux_user@linux_server_ip/myrepo </code></pre> <p>See the <code>man</code> page of <a href="http://git-scm.com/docs/git-clone" rel="nofollow noreferrer"><code>git clone</code></a> for more information about the different protocols.</p> <p>Note that you won't be able to push directly to <code>myrepo</code> since it's not a bare repository. To push to <code>master</code> on <code>myrepo</code>, <code>master</code> must not be checked out on <code>myrepo</code>. To achieve this, go to <code>myrepo</code>, create a temporary branch (<code>git checkout -b nocommit</code>), then <code>git push origin master:master</code> and then <code>git checkout master</code> again.</p> <p>The topic of pushing into a non-bare repository has been discussed several times here:</p> <ul> <li><em><a href="https://stackoverflow.com/questions/1764380/push-to-non-bare-repository">How to push to a non-bare Git repository?</a></em></li> <li><em><a href="https://stackoverflow.com/questions/6075584/git-making-pushes-to-non-bare-repositories-safe">Git: making pushes to non-bare repositories safe</a></em></li> <li><em><a href="https://stackoverflow.com/questions/3221859/cannot-push-into-git-repository">cannot push into git repository</a></em></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

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