Push your first branch

When you have committed at least one revision, you can add the Cloud Manager repository as a remote, and then push your commits to it.

$ git remote add adobe <url>
$ git push adobe master
Counting objects: 36, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (27/27), done.
Writing objects: 100% (36/36), 7.31 KiB | 1.83 MiB/s, done.
Total 36 (delta 6), reused 0 (delta 0)
To <url>
 * [new branch]      main -> main
NOTE
The specific URL, along with your credentials, is provided by your Adobe CSE (Customer Success Engineer) during Cloud Manager onboarding.

Additional branches

A single main branch may suffice for very simple projects, but in most cases, a more complex branching strategy is required. Many customers follow a process where day-to-day development activities are performed on a branch called develop. The develop branch is then merged into the main branch when it is time for a deployment.

TIP
To view common Git commands, see the Git Cheat Sheet.

Experience Manager