layout | title | date | add toc | add support | add sidebar |
---|---|---|---|---|---|
docs |
Working on an ARC branch |
2022-12-13 |
false |
false |
_sidebars/mainSidebar.md |
- No direct access rights to the main branch (which can be handled via the DataHUB) or
- Many people working on the same repository, making direct pushing to main branch chaotic.
Work on a second branch and contribute to the main branch using merge/pull requests
- Use
arc get
to get the main branch of the repository. - Work on the ARC.
- Use
arc sync -b SecondBranchName
.
💡 This will create a commit with your newest changes and push the commit to a new branch with the given name. When you finished editing your ARC, you can merge your progress into the main branch.
You can check on which branch you are currently working on and the status of this branch by using
git status
💡 This will print to the console, if you are behind, up to date, or ahead of the main branch.