Skip to content

Instantly share code, notes, and snippets.

@guinslym
Last active January 2, 2016 04:29
Show Gist options
  • Save guinslym/8251042 to your computer and use it in GitHub Desktop.
Save guinslym/8251042 to your computer and use it in GitHub Desktop.
github issue. In a folder i have only one file (bonjour.txt). I want to add that file on my github
guinslym@ubuntu:~/Documents/programming/rails_book/rails_3_action/bonjour$ ls -la
total 3
drwxrwxr-x 3 guinslym guinslym 1024 Jan 3 22:01 .
drwxrwxr-x 5 guinslym guinslym 1024 Jan 3 22:00 ..
drwxrwxr-x 8 guinslym guinslym 1024 Jan 3 22:01 .git
-rw-rw-r-- 1 guinslym guinslym 0 Jan 3 22:00 bonjour.txt
guinslym@ubuntu:~/Documents/programming/rails_book/rails_3_action/bonjour$ git remote add origin [email protected]:guinslym/bonjour.git
guinslym@ubuntu:~/Documents/programming/rails_book/rails_3_action/bonjour$ git push origin master -u
Warning: Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts.
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
@guinslym
Copy link
Author

guinslym commented Jan 4, 2014

First : I need to create a folder called 'bonjour'
than do 'git push origin master -u'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment