Can't push or commit to GitHub in Xcode 9

亡梦爱人 提交于 2020-01-06 06:41:11

问题


  1. I created Git Hub account and clone using SSH

  2. I went to Create Git Repositories. I chose both project folders POD and SFITNESS. Then xCode created the following:

  3. Then I right click on SFITNESS and ADD EXISTING REMOTE which I log in to GitHub to provide the link, everything works fine.

  4. When I went to commit, I choose the SFTNESS folder and commit and at the bottom it allows me to Push to remote which I choose the remote at step 3.

  5. Then it will prompt me for the Username and Password and I can never get the authentication correct. The Username and password is it for Github? I can never get the authentication correct?

  6. Now, at the commit window I have lost my SFITNESS folder, how do I commit again? Is it push now?


回答1:


Need to Add SSH following this link and use SSH as authenthication.



来源:https://stackoverflow.com/questions/49748485/cant-push-or-commit-to-github-in-xcode-9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!