Salesforce

Using Gitflow Commands from Magic xpa (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Using Gitflow Commands from Magic xpa

Gitflow defines a strict branching model designed around a version release. Git features typically reside in Developers’ repository. To support Gitflow commands, Magic xpa has brought a new option named Git Flow under the Version Control menu as shown below:

The Gitflow entries in the File > Version Control menu provide the following options:

Git flow init

This command initializes a directory as a Gitflow repository. If it is already initialized then Magic xpa issues an error.

Git flow feature start

This command starts a Gitflow feature branch. That means, a feature branch is created in the local repository, which is allocated for developing a specific feature.

Git flow feature finish

Once the development work on a feature is complete, you can use this command to close the feature branch.

There are three steps you need to take:

1. Switch to develop branch.

2. Merge the feature branch into the develop branch.

3. Delete the feature branch.

Once the Gitflow feature development is finished, the feature branch is merged into the main development repository.

For more details regarding Gitflow, please see https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow or other references to Gitflow.

Since version: 4.7

Related Topics

Reference
Attachment 
Attachment