Git Workflows
You can perform many common Git workflows in Design Center. Most of these are performed from the Workspace and Source Control panels, both of which can be accessed in the left-side navigation.
Navigate repositories
You can navigate the Git repositories connected to your AtScale account from the Workspace panel.
At the top of the panel, use the Repo and Branch fields to switch between repositories and branches.

After selecting a repository and branch, you can drill down through the individual folders and files within the repository. You can also use each object's context menu to perform actions like duplicating the object, editing it, deleting it, and so on.

Pull incoming changes
If another user has committed changes to the repository and branch you're working on, you can pull them from the Source Control panel.
To pull incoming changes:
-
In the left-side navigation, click Source Control. The Source Control panel opens.
-
To review the incoming changes before pulling them, expand the Incoming Commits section.
All incoming changes are listed. You can click on each to view the commit ID and the files that were changed. You can also use each file's context menu to view its diff, as well as open it for editing.

-
To pull the changes, click Sync at the bottom of the panel.
View diffs
If you've made changes locally and want to review them before committing, you can view the diff between the original and modified versions of the file.
To view the diff for a file:
-
In the left-side navigation, click Source Control. The Source Control panel opens.
-
Expand the Workspace Changes section.
-
Click the context menu for the change you want to view and select Diff against latest changes.

The selected file opens in the Diff Editor.

Revert local changes
If you have uncommitted local changes you no longer want, you can revert them from the Source Control panel.
To revert local changes:
-
In the left-side navigation, click Source Control. The Source Control panel opens.
-
Expand the Workspace Changes section.
-
Do one of the following:
-
To revert a single change, click the change's context menu and select Revert changes.

-
To revert multiple specific changes, select them in the list, then click the context menu for the Workspace Changes section and select Revert Selected.

-
To revert all changes, click the context menu for the Workspace Changes section and select Revert All.

-
The changes are undone and no longer appear in the Workspace Changes section.
Commit and push changes
You can commit and push your changes from the Source Control panel.
To commit your changes:
-
In the left-side navigation, click Source Control. The Source Control panel opens.
-
Expand the Workspace Changes section.
-
Select the changes you want to commit. The Commit message section appears at the bottom of the panel.
-
Enter a commit message and click Local Commit.

-
To push your changes to the remote repository, click Sync.
Undo local commits
If you have locally committed changes that you do not want to push to the remote repository, you can undo them from the Source Control panel.
-
In the left-side navigation, click Source Control. The Source Control panel opens.
-
Expand the Un-pushed Commits section
-
Click Undo Last Commit.

-
In the dialog that appears, click Undo Commit.
Your changes are uncommitted and appear in the Workspace Changes section of the Source Control panel.