How to "Clone" the Git Repository of cPanel?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to "Clone" the Git Repository of cPanel?

    I want to know the procedure of copying the Git repository into cPanel.

    #2
    What is Git Repository in cPanel?

    Comment


      #3
      Git Repository is a kind of .git/ folder in your project that monitors all the changes in the project. It’s a version control system.

      Comment


        #4
        It’s a kind of history stored in a folder.

        Comment


          #5
          To put it another way, cloning is the act of copying or duplicating.

          Comment


            #6
            Ok. So, if we delete the folder by accident, would the history be preserved or will it be lost?

            Comment


              #7
              The only way to recover a deleted .git folder is to clone it from a different location.

              Comment


                #8
                The steps to clone the Git Repository of cPanel are as follows:

                1. Log into cPanel.

                2. Go to Files Section.

                3. Choose the option “Git Version Control”.

                4. If you want to clone a repository that already exists on the Web, toggle on the “Clone a Repository” button.

                5. Copy the clone URL of the git repository into the “Clone URL” section on the page.

                Comment

                Working...
                X