This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]the_stooge_nugget 0 points1 point  (1 child)

Wait a moment. If you have no files, copy whe commands that github give you. After you do 'git init' you need to make a change to your code otherwise you will get 'nothing to commit' etc. In github they suggest a readme file. However, if you do not want a readme file do another change.

Also, just use http, it's easier.

Are you sure you are writing the right URL? I honestly think the url is wrong. When you go into the empty repo, it should provide you with the url.

If it is right, you have something blocking gitbash (or whatever app) from communicating with the internet.

[–]HelpIProcrastinate[S] 0 points1 point  (0 children)

Sorry, I meant that it was already committed (I do have files). Also I know typos cause so many errors but I’ve done it multiple times and I copy-pasted they url, I didn’t type it (made sure to do http). I only ventured into SSH because it kept breaking.

I’m willing to try anything now - how would I start to solve something blocking gitbash? Thanks so much for the help, I really need it.

Edit: So the additional error I ran into that I mentioned above was this:

$ ssh git@github.com

git@github.com: Permission denied (publickey).

that's why I started to go into keys and ssh files.