GIT Branch Creation
Overview
Developers can create a branch to work on a new version of an existing application. Changes in the primary or other branches will only affect your branch if you pull the latest changes from those branches.
Creating a new branch for each task is a common practice because it allows others to identify what changes to expect and, for backtracking purposes, to understand why a particular code change is implemented.
Creation of a GIT Branch
Log in to your ARM account.
From the ARM home page, click on the
Admin
module and go to theVC Repo's
tab.

Select a GIT repository for which the branch needs to be created.Note:If your GIT repository is nCino enabled, the nCino logo will be marked in front of your repository.
Under
Branches
, click onCreate
button.

In
Create Branch
screen, give aBranch name
and selectParent Branch
andBranch Type
from the list. If theParent Branch
configures a metadata folder path, the same configuration will map to the newly created branch.

Click
Create
to complete the creation process.
Registration of an existing GIT branch
On the
VC Repo's
page, select a GIT repository from the repositories list.Click
Register
.

Checkbox the branches you need to register and enter the following details:
Parent Branch:
Choose its parent branch from the drop-down.Last commit date
: The last commit date is fetched from Salesforce Org in EZ-Commit based on the specified date.
Once done, click
Register
to complete the branch registration.

Registration of nCino configured GIT branch
On the
Version Control Repositories
page, select a GIT repository marked with thenCino
logo.Click
Register
.

Checkbox the branches you need to register and select its
Parent Branch
and last commit date (the last commit date is used to fetch changes from Salesforce Org in EZ-Commit based on the specified date).Click the
Register
button to complete the branch registration.

Frequently Asked Questions
How long does it take to register a version control branch in ARM?
The actual registration of a branch depends on the data available in your version control repository. Mostly, the registration can be accomplished in a matter of 1-2 minutes, however, in some rare cases, it can take anywhere from 30 minutes to an hour.
Can I change or switch the default branch repository in AutoRABIT, since I currently have two default branches?
You can do this by first unregistering both branches and then re-registering your repository's default branch in AutoRABIT and setting the registered branch as the default branch.
Last updated
Was this helpful?