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.
Cloning a Git Repository
- Open the Git Projects View:
-
To open the Git Projects view, switch to the Git perspective by selecting it from the perspective switcher.
-
Click on "Clone a Git Repository":
-
In the Git Projects view, click on the "Clone a Git Repository" button in the toolbar.
-
Enter Repository URL:
-
Provide the URL of the Git repository you want to clone.
-
Configure Clone Options:
-
Configure additional cloning options such as credentials and branch.
-
Click "Clone":
- Click the "Clone" button to initiate the cloning process.
Pulling Changes from a Remote Repository
- Select the Project:
-
In the Git Projects view, select the project for which you want to pull changes.
-
Click on "Pull":
-
Click the "Pull" button in the toolbar to fetch and merge changes from the remote repository.
-
Choose Pull Options:
-
Choose pull options such as the remote branch and merge strategy.
-
Click "Finish":
- Click the "Finish" button to complete the pull operation.
Pushing Changes to a Remote Repository
- Select the Project:
-
In the Git Projects view, select the project for which you want to push changes.
-
Click on "Push":
-
Click the "Push" button in the toolbar to push local changes to the remote repository.
-
Configure Push Options:
-
Configure push options such as the remote branch.
-
Click "Finish":
- Click the "Finish" button to complete the push operation.
Sharing a Project as a Git Repository
- Select the Project:
-
In the Git Projects view, select the project you want to share as a Git repository.
-
Click on "Share":
-
Click the "Share" button in the toolbar.
-
Choose Git:
-
Choose "Git" as the repository type and click "Next".
-
Configure Repository:
- 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.