Here's step-by-step how to create and manage a GIT repository from your dashboard. This process is simple and straightforward, allowing you to set up a development environment quickly.
1- Access to hosting
The first step is to access your hosting service from the basic list of services available on your dashboard. This list shows all the active services, including the hosting you need to manage your GIT repositories.
Once inside the hosting dashboard, you will see different options represented by icons. Go to the File Managers and click Tool for developers.
3- Activate the tool for developers
In this section, activate the Tool for developers. In doing so, a number of essential tools will be enabled, such as the PHP terminal, Composer, WP-CLI, and Git and SVN clients. This step is crucial to be able to use the Git functionalities in your dashboard.
4- Create new GIT repository
After activating developer accommodation, scroll down to find the List of GIT repositories. Here, click the option Create a new GIT repository.
You will then be prompted to complete some fields to set up your new repository. These fields include:
Name of Repository: Choose a name that clearly identifies your project.
Name of Main Branch: By default, it is usually "main".
Description: It may be useful in briefly describing the purpose of the repository.
Once these fields are completed, click Create repository. If everything is correct, the dashboard will show you a confirmation message stating that the repository has been successfully created.
6- Options in the column "Actions"
Once the repository is created, you will have several options to manage it through a column of actions represented by different icons:
Clone GIT repository:The first icon allows you to clone the repository. When you click, a command will appear that you will need to copy and run on your terminal to clone the repository on your local machine.
When you click the button marked in red, you will be shown a screen with the command that you will have to run on your console:
Deploy GIT repository:The second icon is to deploy the repository. By selecting it, you can choose the branch you want to deploy. By default, only the main branch ("main") will be available until you create other branches using Git.
When you click on the button indicated, you will see a new screen where you will have to choose the branch to deploy. By default you will only have the main one (main) available, and only after creating another branch through Git will you visualize more in the drop-down.
Delete GIT repository:The last icon lets you delete the repository if you no longer need it.
With these simple steps, you can easily create and manage a GIT repository directly from your dashboard, optimizing your workflow and facilitating the management of your development projects.