What is the Netlify Site credential I should enter when running Git Pull repository from GitHub

#Netlify-support #netlify-cms

Hi, I’ve got two sites on Netlify, both repositories are hosted on GitHub.

Site A has Netlify CMS and LMS enable and Site B does not.

I have no problem pulling Site B from GitHub to a new computer, however pulling the repository of Site A from GitHub will prompt me to enter credential of

https://889d2c68-9279-4215-8985-394bce1ecf07.netlify.com

I tried using Netlify’s main log in, not working. I tried using Netlify CMS Admin page log in, not working.

After I terminate the clone, I got

warning: Clone succeeded, but checkout failed.

Can anyone please tell me what credential do I need to enter here?

Thanks

As no one reply, I guess it is not as easy as it sounds like.

Anyway, I created a new github repository, this time I did not use Large Media and it is working fine now.

Hi,

Same issue. I set up a repository with Netlify LMS with GitHub - all working fine.

Now I have a new computer and need to clone the repository (plus the LMS files) to my local development machine. I have the following stalled under sudo:

:heavy_check_mark: Checking Git version [Git-132)]
:heavy_check_mark: Checking Git LFS version [3.0.2]
:heavy_check_mark: Checking Git LFS filters
:heavy_check_mark: Checking Netlify’s Git Credentials version [0.1.10]

But as above the cli keeps asking for username and password - I’ve no idea what to do next, any suggestions?

Hi, @martin.m.riley. I’m not sure why you are using sudo as it should not be required. If fact, I think it could be the source of the problem.

When you run netlify lm:install it configures the Git credential helper - for the user that runs the command. If you are using sudo (a command that changes the user) then my best guess is you are configuring it for some other user (root maybe).

You should run the netlify lm:install command as the same user you will be using to interact with Git and the Netlify CLI tool. Also, this command should then add a source command to your default shell configuration file (like .bash_profile or .zshrc). Please check the appropriate file to confirm that line is being added.

Please see this post for an example of the source command. If that doesn’t resolve the issue, please let us know.