How to create a GIT repository

How to create a GIT repository

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.


2- Developer hosting
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.


5- Add repository data
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:
  1. 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:


  1. 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.


  1. 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.


For more information, you can contact us.
    • Related Articles

    • How to use GIT commands with Bitbucket repository

      In this tutorial we will show the steps to take to use the GIT commands to clone files from your hosting in a repository created in Bitbucket with the SSH of their cdmon hosting. First of all, you need to have a repository created in Bitbucket. If ...
    • How to deploy GIT repositories

      Our GIT deployment tool allows you to clone and manage GitHub repositories directly from the cdmon dashboard, without using FTP or GIT commands. This makes it easy to install and update projects quickly and easily. To manage GIT repository ...
    • How to create users from the Wordpress administrator

      On different occasions we have to create new users to manage our Wordpress because we have to facilitate access to some third party or because WordPress is managed for more than one person. In the following guide we will show how to create WordPress ...
    • Staging: create test environments without affecting your main website

      The tool ofStaging(or test environment) allows you to create afunctional copy of your websitein an isolated environment. It is ideal for doingtests, apply updates or make changeswithout affecting your main website. Enter the control panel Access the ...
    • How to manage our web hosting

      With the "Control Panel" of the web hosting, you can manage your hosting comfortably. The panel is made up of a section with hosting information and different sections with tools. To access the management panel of the hosting, in the "Basic list of ...