


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...
Please use this thread to ask the related questions.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Sign in to like this content
Total Likes
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/