I'm not sure, but I think it's something with GitHub. I tried adding -a and it didn't work (same exact error), however, I took the starting instructions on GitHub, and tried them with Gitorious, and it seems to have worked fine.
~ $ cd ProjectEuler/ ~/ProjectEuler $ git init Initialized empty Git repository in /home/zcc/ProjectEuler/.git/ ~/ProjectEuler $ git add Program.cs ~/ProjectEuler $ git add README ~/ProjectEuler $ git commit -m 'first commit' [master (root-commit) fad58fa] first commit 1 files changed, 10193 insertions(+), 0 deletions(-) create mode 100755 Program.cs create mode 100644 README ~/ProjectEuler $ git remote add origin [email protected]:my-project- euler-solutions/my-project-euler-solutions.git ~/ProjectEuler $ git push origin master The authenticity of host 'gitorious.org (87.238.52.168)' can't be established. RSA key fingerprint is ###################. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'gitorious.org,87.238.52.168' (RSA) to the list of known hosts. Counting objects: 4, done. Delta compression using up to 2 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (4/4), 49.20 KiB, done. Total 4 (delta 0), reused 0 (delta 0) => Syncing Gitorious... [OK] To [email protected]:my-project-euler-solutions/my-project-euler- solutions.git * [new branch] master -> master ~/ProjectEuler $ On Mar 8, 8:16 pm, David Whitehurst <[email protected]> wrote: > I think you should have used the -a option. You more than likely made > no change to local. > > Try "git commit -a -m 'first commit' > > Then .. > > git add remote origin ... part again and > git push origin master > > Try all the same steps but when you add the -a option ... pay attention. > > David > > > > On Mon, Mar 8, 2010 at 10:09 AM, TheZeusJuice <[email protected]> wrote: > > Sorry, I know its probably some stupid mistake by me, but I made a new > > repository, and followed the instructions, but I get an error on the > > last step, and worse yet, couldn;t find anything relevent in a google > > search, nor in a search of this user group. Any assistance would be > > greatly appreceated: > > > ~ $ mkdir ProjectEuler > > ~ $ cd ProjectEuler > > ~/ProjectEuler $ git init > > Initialized empty Git repository in ~/ProjectEuler/.git/ > > ~/ProjectEuler $ touch README > > ~/ProjectEuler $ git add README > > ~/ProjectEuler $ git commit -m 'first commit' > > [master (root-commit) d9acf61] first commit > > 0 files changed, 0 insertions(+), 0 deletions(-) > > create mode 100644 README > > ~/ProjectEuler $ git remote add origin [email protected]:Zilog8/ > > ProjectEuler.git > > ~/ProjectEuler $ git push origin master > > ERROR: Zilog8/ProjectEuler doesn't exist yet. Did you enter it > > correctly? > > fatal: The remote end hung up unexpectedly > > > -- > > You received this message because you are subscribed to the Google Groups > > "GitHub" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/github?hl=en. > > -- > David L. Whitehursthttp://www.capehenrytech.com… Providing software > instruction through > a sea of Technology. -- You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/github?hl=en.
