Learning#10 : How to use GitHub Repository (Create branches) Linkage with Source Control

Shamma Negi
Kilo Sage
Kilo Sage

Hi All,

If you are working on scoped APP and you want to use GITHUB Repository, then use the below process:

Linking an application

To use Studio to link an application to a repository:

On the repository page in GitHub, click the Copy URL button to copy the repository link.

 

ShammaSalhotra_0-1686829350731.png

 

 

  1. Open the application in Studio.
  2. Click the Source Control menu and select the Link to Source Control menu item.

ShammaSalhotra_1-1686829350743.png

 

Configure the Link to Source Control dialog.

ShammaSalhotra_2-1686829350749.png

 

Network protocol:The network protocol used to connect to the source control repository.

URL:The URL for the source control repository.

Credential:The Credential record created to authenticate to the source control repository.

Branch:The branch to begin work on the application. The branch needs to exist in the repository. Use master if no branches exist in the repository.

MID Server Name:The name of a MID Server used to connect to the repository (optional).

Default Email:The committer's email address defined in the sys_user record. If the committer's email address is not defined in the sys_user record, the system generates an alternate email address. Enter a default email address and select the check box to use the default email address for commits from all developers (optional).

  1. Click the Import button.

o create a branch in Studio:

  1. In Studio, open the Source Control menu and select the Create Branch menu item.
  2. In the Create Branch dialog, enter a Branch Name then click the Create Branch button.

ShammaSalhotra_3-1686829350755.png

 

NOTE: Branch names cannot include spaces.

  1. When the Create Branch dialog indicates the branch is created, click the Close button.

ShammaSalhotra_4-1686829350756.png

 

 

Regards,Shamma Negi
0 REPLIES 0