Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat Is The Git Link On A Remote Repository
    primarykey
    data
    text
    <p>I am new to <code>git</code>. I have been working on making git push to my remote repository. I have a website with cPanel. I have <code>ssh</code> access and I used the commands from <a href="http://forums.cpanel.net/f391/installing-git-294411.html" rel="nofollow">the cPanel Forums</a>.</p> <p>I used this sequence of steps to install <code>git</code> to my remote server which installed perfectly with the latest <code>git</code> version: </p> <pre><code>cd ~ wget http://git-core.googlecode.com/files/git-1.7.9.2.tar.gz tar zxvf git-1.7.9.2.tar.gz cd git-1.7.9.2 ./configure --prefix=/home/$USER make make install echo 'PATH=$PATH:$HOME/bin' &gt;&gt; $HOME/.bashrc source $HOME/.bashrc </code></pre> <p>The only question I have now is, what is the link that I put into the <code>git</code> command line or <code>tortoisegit</code> when I want to clone, push, and pull? </p> <p>Example from github: <code>git@github.com:username/try_git.git</code></p> <p>Example to what I thought would work in my case: <code>name@website.com:directory/gitrepo.git</code></p> <p>To be more specific, what does the following lines of code do:</p> <pre><code>echo 'PATH=$PATH:$HOME/bin' &gt;&gt; $HOME/.bashrc source $HOME/.bashrc </code></pre> <p>I installed git on my domain server, which I don't have root access too, that is why I used the installation process from the link above. However, when I try to push or clone from what I thought was the file path it keeps giving me errors the following error(s):</p> <pre><code>Using username "git-upload-pack 'nathan". Access denied Access denied Access denied Access denied fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. git did not exit cleanly (exit code 128) (36910 ms @ 12/31/2012 8:03:02 AM) </code></pre> <p>Could this be caused by using tortoiseGit?</p> <p>Other question I might ask is what is a command line example of cloning, push, or pulling from my remote server that only has git installed?</p> <p>Any help will be greatly appreciated. </p>
    singulars
    1. This table or related slice is empty.
    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. This table or related slice is empty.
    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