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 clone a repository created in Bitbucket.org

      The hosting with which you want to do this cloning must have the SSH and GIT service on the dashboard. First of all, it must activate the SSH hosting. You must only go to the management of your hosting and assign a password for your SSH access. Then ...
    • 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 activate SVN/Git version control clients

      Git and SVN are a version control software used to maintain versions in application development. Version control is the management of changes made to the source code of an application. Management tools are used to carry out this control Subversion or ...
    • How to create FTP secondary users

      The Control Panelcdmonallows you to create secondary FTP users, to whom you can restrict access to certain folders. To create secondary users, you must go to themanagement of accommodationand in the 'File Managers' section access the optionFTP users. ...