hjc / JagTrack

An Android app for tracking the location of JagTran
15 stars 4 forks source link

ssh key is invalid #14

Open tiamatschosen opened 12 years ago

tiamatschosen commented 12 years ago

it says there are line breaks in it . but it adds them when i paste it in the box. ive manually removed them after pasting but it still says invalid

hjc commented 12 years ago

Are you copying from the id_rsa.pub file? If so, it should have no line breaks.

Otherwise, bring up Git Bash and type this:

cat ~/.ssh/id_rsa.pub > /dev/clipboard

and you should have the entire contents of the file copied to the clipboard, without line breaks.

Tell me if there are further issues.

tiamatschosen commented 12 years ago

got past taht part. when i try to clone this is what i get:

Ray.Bigelow@JC-MCS128-RAY ~ $ git clone git@github.com:hjc1710/jagtrack Cloning into 'jagtrack'... ERROR: Repository not found. fatal: The remote end hung up unexpectedly

am i missing a step

hjc commented 12 years ago

You have to initialize a repository with:

git init

Navigate to the desired folder, type that and then go.

tiamatschosen commented 12 years ago

did that but when i pull its still gives a fatal error

hjc commented 12 years ago

What is the error?

If you haven't set up a remote with:

git add remote github git@github.com:hjc1710/JagTrack.git

And then use:

git pull github master

If you have further issues, try using:

git checkout master

First.

tiamatschosen commented 12 years ago

i set up the remote and i set up a folder on the desktop when i did a pull the folder is still empty i even set up a branch but in still not seeing where anything is that downloaded

tiamatschosen commented 12 years ago

how do i get it to go into the folder i made on my desktop. i created with ith git init but when i didi a pull master it the folder is still empty

hjc commented 12 years ago

Try running a fetch first:

git fetch origin

Otherwise, what is it saying?