Highlighted

AEM Cloud Manager - Setup Git Remotes and Authentication on Windows | AEM Community Blog Seeding

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

969

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

969

Correct Answer

1.1K
kautuk_sahni
Community Manager

25-10-2020

BlogImage.jpg

AEM Cloud Manager - Setup Git Remotes and Authentication on Windows by Sreekanth Choudry Nalabotu

Abstract

The Initial Sync section of Integrating with Git page explains setting up two remotes (origin for customer specific remote and adobe for cloud manager specific remote). This simple post is on providing authentication credentials in git bash so you can fetch both remotes...



1) You set the cloud manager remote by adding, for eg.

git remote add adobe https://git.cloudmanager.adobe.com/demosystem/experience-aem-demo-cs

2) Try fetching the remotes using git fetch --all and you might see the error fatal: Authentication failed for 'https://git.cloudmanager.adobe.com/demosystem/experience-aem-demo-cs'

3) To get around the issue, set Windows git credential helper

git config --global credential.helper wincred

4) Add credential config for the repo....

git config credential.https://git.cloudmanager.adobe.com/demosystem/experience-aem-demo-cs.username your-user-name

5) It adds an entry in repo config file experience-aem-demo-cs\.git\config

6) Trying a fetch now shows authentication window...

Read Full Blog

AEM Cloud Manager - Setup Git Remotes and Authentication on Windows

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager