5
I’m trying to upload files to Github. I already created the directory and in Github created the account.
I cannot establish a connection to Github when I enter the folder containing the file I want to host and type these codes below:
git init
git add --all
git commit -m 'Teste de github'
git remote add origin [email protected]:usuario/repositoriogithub.git
git push origin master
The last two commands give error because they cannot establish a connection with the server.
Possibly it must be because of ssh key that I didn’t set up in the installation because I don’t even know where this one is Keys. My operating system is Windows XP SP3, you know where this ssh key is and how to set up on the website and Windows?
Note: I already have the repository created, but I can’t send my files to Github.
Silly question, but you changed
usuario
by your user andrepositoriogithub.git
by your repository? .__.– Felipe Avelar
boba né rsrs, I’ve done it and it doesn’t work.
– adailton moraes
Already took a look here: https://help.github.com/articles/generating-ssh-keys/#Platform-windows
Tip: If you have GitHub for Windows installed, you can use it to clone repositories and not deal with SSH keys. It also comes with the Git Bash tool, which is the preferred way of running git commands on Windows.
– Otávio
I couldn’t even get them to help me. the error when I type this command: git remote add origin [email protected]:ktinho456/server.git is fatal: remoter origin already exitis. and when I type that code git push origin master; da the following error; fatall remote error: ktinho456/:ktinho456/server.git is no a Valid repositori
– adailton moraes
Already tried to clone your repository, put the files you need there and then commit and make push?
– Otávio
but no function can’t get by fileilla but there is no way to start the file I want example folder/a/srver.js when I try to url error that openshift.
– adailton moraes