Github - Uploading Files

Asked

Viewed 57 times

0

1 answer

0

Did you give git clone? If not, do: git clone https://github.com/patricchubaca/Calculadora-em-JavaScrip.git seu-diretorio/. The folder should be empty, and only then do you put the code in it.

After that you can git push.

  • So I just want to upload my file to github and give this error

  • You didn’t answer my question. To go up, you first need to give git glone to 'pair' with your folder, and then push, it will send correctly to your repository. The way you’re doing it, how does he know where the push is being made? Maybe there’s another way, but I don’t know. Or maybe the way I do it already makes the other way, maybe manual way of doing it. But I always do it the way I said and it’s very simple! Anyway, feel free to test it and come back here later to talk about whether it worked or not like I said.

  • Sorry, only today that. So, I followed the commands of the page of Github same and it worked I pushed after it asked a command and executed and it worked

  • I’m glad it worked out.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.