Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

kautuk_sahni
Community Manager
Community Manager

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.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply
samishra
Level 1
Level 1

If you are syncing for the first time please make sure the folder to which you sync should be git repo else by running git init

$ git remote add adobe https://git.cloudmanager.adobe.com/acsaem/xxxxxxxxx/

fatal: not a git repository (or any of the parent directories): .git

$ git init

Initialized empty Git repository in C:/Users/samishra/aemcloud/.git/