Authenticating to a Github remote with name and password
I need upload project to friend’s github account. I have login and password. When I try to push project it’s always ask name and password, I try to type login and password or main directory of github (paint out on screen with black) with password, try with empty password, but always take alert that it is incorrect name or password. I try to create repo on github and clone it to my Mac and then copy files to this cloned repo and after commit – push. But again I need type name and password. What is it? Some screens:
repo on github
- How to merge conflicts (file project.pbxproj) in Xcode use svn?
- How to commit a file to the repo but make it so its future commits are not allowed?
- What does the “Files staged in the index” view mean in sourceTree?
- Git GUI Crash Signal 6
- Quick guide to get started using Git + GitX with Xcode projects on the mac?
- How do I configure Git in Xcode to work with BitBucket
add repo in xcode
What I need type in this fields?
Try type login and password, title of main directory and password,
git-password, and all this names with empty password field. Always I see:
One Solution collect form web for “Authenticating to a Github remote with name and password”
You are using the SSH URL, which requires you to (generate and) register a public RSA key with Github before you can authenticate.
If this is a one-time thing, you can just switch to the HTTPS URL (see the repo’s page on github), which allows you to authenticate with the github username and password combo.
- For more information about how to generate and use SSH keys, check out Github’s SSH help articles
- For a detailed comparison of the transport protocols supported by Git and their advantages and disadvantages, with respect to Github, see this comparative article