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
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,129 likes

Total Posts

6,140 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,129 likes

Total Posts

6,140 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
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

Replies

Avatar

Avatar
Give Back
Level 1
samishra
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile

Avatar
Give Back
Level 1
samishra
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile
samishra
Level 1

20-01-2021

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/