Skip to content

Git Projects

The "Git Projects" view in the Git perspective provides a centralized interface for managing Git repositories. This view allows you to perform essential Git operations such as cloning, pulling, pushing, and sharing projects. Below is an overview of key features and actions available in the "Git Projects" view.

Git

Cloning a Git Repository

  1. Open the Git Projects View:
  2. To open the Git Projects view, switch to the Git perspective by selecting it from the perspective switcher.

  3. Click on "Clone a Git Repository":

  4. In the Git Projects view, click on the "Clone a Git Repository" button in the toolbar.

  5. Enter Repository URL:

  6. Provide the URL of the Git repository you want to clone.

  7. Configure Clone Options:

  8. Configure additional cloning options such as credentials and branch.

  9. Click "Clone":

  10. Click the "Clone" button to initiate the cloning process.

Pulling Changes from a Remote Repository

  1. Select the Project:
  2. In the Git Projects view, select the project for which you want to pull changes.

  3. Click on "Pull":

  4. Click the "Pull" button in the toolbar to fetch and merge changes from the remote repository.

  5. Choose Pull Options:

  6. Choose pull options such as the remote branch and merge strategy.

  7. Click "Finish":

  8. Click the "Finish" button to complete the pull operation.

Pushing Changes to a Remote Repository

  1. Select the Project:
  2. In the Git Projects view, select the project for which you want to push changes.

  3. Click on "Push":

  4. Click the "Push" button in the toolbar to push local changes to the remote repository.

  5. Configure Push Options:

  6. Configure push options such as the remote branch.

  7. Click "Finish":

  8. Click the "Finish" button to complete the push operation.

Sharing a Project as a Git Repository

  1. Select the Project:
  2. In the Git Projects view, select the project you want to share as a Git repository.

  3. Click on "Share":

  4. Click the "Share" button in the toolbar.

  5. Choose Git:

  6. Choose "Git" as the repository type and click "Next".

  7. Configure Repository:

  8. Configure the repository details and click "Finish" to share the project as a Git repository.

Additional Actions

  • Refresh: Use the "Refresh" button to refresh the Git Projects view and see the latest repository status.

  • Repository Properties: View additional Git repository structure and properties.

Explore the "Git Projects" view to seamlessly manage your Git repositories within the codbex environment.