Git
Overview
This interface allows users to manage and synchronize their application code repositories directly within the ClusterWare Console.

Key Sections
Repository URL
The URL of the Git repository for the application. The repository URL is set in the cluster settings and is used primarily for Git clone operation upon initialization of the application on the server.
Status
Indicates if the working directory is clean.
Clean: The working directory doesn't include any untracked changes in files.
Not clean: There are differences between the latest commit in local repository and your filesystem. It may happen when installing dependencies alters the
package.json
file or when your application modifies files within the repository at runtime.
To restore the repository to the initial state use the Clean button.

Current Branch
Displays the current branch checked out in the local repository.
Options
Change branch: Click on the current branch dropdown and select a different branch.
Pull: Click on the Pull button to update your local repository with latest changes in the remote repository. Git pull modifies the local working directory.

Local Branches
Lists the local branches available in the repository. The latest commit hash is shown along with the most recent commit message.
Remote Branches
Shows the remote branches and with the same commit hash and message is displayed.
Options
Fetch: Allows to fetch the latest updates from the remote repository. Git fetch does not modify local working directory.
Sync Actions
Status: Syncs information displayed in all sections of this tab: the current Git status, local branches and remote branches.
Initializing new repository (Cloning)
If ClusterWare detects that the directory specified in the application config is not a Git repository, it asks the user to initialize it.
The following steps work for public and private repositories.
Open your repository settings in a separate browser tab and allow list the SSH key provided in Public Key section to read the repository data.
Click Clone to initialize the local repository and pull latest changes from the default remote branch

Last updated