0

I am working on an app where I am pulling my code from the remote git repository While doing this Xcode not allowing me to enter my GitHub username. Its showing 'git' as prefill disable username. Please check attached screenshot link for same.

enter image description here

Mitesh Vanaliya
  • 2,491
  • 24
  • 39
Ram
  • 11
  • 1
  • Maybe because the repo is private and you need to introduce it's password? – Nacev Nov 18 '17 at 09:18
  • Thanks, fo the reply..! you are right repo is private, But my username is not listing there git is not my username. After entering correct password it's giving me an invalid credential error. – Ram Nov 18 '17 at 10:13
  • Try entering the repo's password that you get when you create it. – Nacev Nov 18 '17 at 10:14
  • After entering the right password I am getting an error - Authentication failed because the name or password was incorrect. – Ram Nov 18 '17 at 10:29

2 Answers2

0

I recommand going to : https://github.com/contact and write them a message that you want to change the password and they will help you trough that for sure!

Nacev
  • 144
  • 8
0

You will need to switch to the HTTPS remote URL.

git remote set-url origin https://bitbucket.org/myUserName/myProject.git
Alireza Rabiei
  • 194
  • 1
  • 10