Skip to content

Instantly share code, notes, and snippets.

@guinslym
Created January 7, 2014 06:44
Show Gist options
  • Save guinslym/8295520 to your computer and use it in GitHub Desktop.
Save guinslym/8295520 to your computer and use it in GitHub Desktop.
I'm trying to do this github tutorial for beginner. https://help.github.com/articles/create-a-repo It's suppose to be simple but I'm getting some errors
guinslym@ubuntu:~/Documents$ mkdir ~/Hello-World
guinslym@ubuntu:~/Documents$ cd ~
guinslym@ubuntu:~$ cd Hello-World/
guinslym@ubuntu:~/Hello-World$ git init
Initialized empty Git repository in /home/guinslym/Hello-World/.git/
guinslym@ubuntu:~/Hello-World$ touch README
guinslym@ubuntu:~/Hello-World$ git add README
guinslym@ubuntu:~/Hello-World$ git commit -m 'first commit'
[master (root-commit) db61432] first commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 README
guinslym@ubuntu:~/Hello-World$ git remote add origin https://github.com/guinslym/Hello-World.git
guinslym@ubuntu:~/Hello-World$ git push origin master
Username for 'https://github.com': guinslym
Password for 'https://[email protected]':
fatal: https://github.com/guinslym/Hello-World.git/info/refs?service=git-receive-pack not found: did you run git update-server-info on the server?
.....
guinslym@ubuntu:~/Hello-World$ git remote add origin https://github.com/guinslym/Hello-World.git
fatal: remote origin already exists.
guinslym@ubuntu:~/Hello-World$ git remote -v
origin https://github.com/guinslym/Hello-World.git (fetch)
origin https://github.com/guinslym/Hello-World.git (push)
guinslym@ubuntu:~/Hello-World$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment