With the Version Control mode in the Command Center, you can initialize as many Git repositories in a single Mage application as your desire.

The Version Control mode enables you to invoke Git commands for any Git repository without having to constantly change working directories.

Activate mode

Transform into a version control master

1

Launch Command Center

Open the Command Center. For all the ways to do this, read more here.

2

Search for mode

In the search bar, start typing the words Version Control.

3

Invoke action

Once you see the row titled Activate version control mode, select that row and invoke its action.


Projects

Here are the steps to setup 1 or more Git projects in Mage:

1

New Git project

Select the row title New Git project.

2

Select directory

Choose a location to initialize a Git repository. The git init command will be executed in this directory and it’ll contain the .git folder.

3

Initialize repo

Click the button labeled Initalize repo.

Once you have at least 1 Git project setup, here are more actions you can invoke from within a Git project:


Remotes


Branches


Files


Other git actions

If a git action isn’t available in the Command Center, you can type in the search bar the full git command you want to run and click ⌅ Enter to submit the command.


Authentication

From the Command Center, you can initiate the Authentication flow with Git providers such as GitHub and GitHub Enterprise (GHE).

Additional providers coming soon.