安装Git. 您可以选择默认设置并完成安装过程。
转到命令提示符在git —version中导航到c:\cloudmanager\aem-banking-app type 。 您应该会看到系统上安装的GIT版本
确保您位于c:\cloudmanager\aem-banking-app文件夹中
git init
上述命令将初始化项目作为Git本地存储库
git add .
这会将所有项目文件添加到Git存储库,以便提交到Git存储库
git commit -m "initial commit"
这会将文件提交到Git存储库
访问您的Cloud Manager存储库
获取Cloud Manager存储库凭据
将用户名保存在配置文件中
git config --global credential.username "gbedekar-adobe-com"
将密码保存在配置文件中
git config --global user.password "XXXX"
(密码是您的cloud manager git存储库密码)
向本地Git存储库注册Cloud Manager Git存储库。 以下命令将关联 bankingapp 使用远程cloud manager git存储库。 您可以使用任何名称,而不是 bankingapp
git remote add bankingapp https://git.cloudmanager.adobe.com/<cloud-manager-repo-path>
(确保使用存储库URL)
检查远程存储库是否已注册
git remote -v