1

Question. To push my files into github, do I need to setup ssh key or can I use http? If so, I'm curious of how to do it through http?

Khiem-Kim Ho Xuan
  • 1,301
  • 1
  • 22
  • 45
  • Of course you can use https. What problems do you face with it? Make sure you have write access to the repo before push. – fracz Sep 27 '14 at 13:05

1 Answers1

1

You can find all the details in "Which remote URL should I use?"

An https url would use as your credentials your GitHub account username and password.

Note that if you have two-factor authentication enabled, you must create a personal access token to use instead of your GitHub password.
I explain more at "Configure Git clients, like GitHub for Windows, to not ask for authentication"

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250