Skip to main content

Using Git Version Control Question

Comments

7 comments

  • cPanelMichael
    Hello @Ahsanul Hoque, The following document is a good place to start when using Git on cPanel & WHM: Guide to Git - cPanel Knowledge Base - cPanel Documentation
    After Creating the New Repository, I can not connect the Remote Cpanel Repository from Git Bash. Some Fatal Error came with invalid Path

    Can you let us know the specific steps (with commands) you are using when reproducing this issue? Also, can you verify if shell access is enabled for the cPanel account? Thank you.
    0
  • Mr_Roboto
    I'm experiencing the same problem; I thought I was doing something wrong but all signs point to I can't push to the repository ?
    0
  • cPanelMichael
    I'm experiencing the same problem; I thought I was doing something wrong but all signs point to I can't push to the repository ?

    Hello, I've been unable to reproduce any issues with pushing changes via the "git push" command from a remote server to a Git repo hosted on a cPanel server. Can you let us know the full steps you are taking along with the specific error message you receive? Thank you.
    0
  • Mr_Roboto
    The file which I want to push is committed, then I'm using `git push ` I get an error `fatal not found` ?
    0
  • cPanelMichael
    The file which I want to push is committed, then I'm using `git push ` I get an error `fatal not found` ?

    Hello @Mr_Roboto, I've been unable to reproduce any problems when testing a push from a remote server to a Git repo hosted on a cPanel server. Can you confirm that SSH access is enabled on the cPanel account? If so, are you using the SSH URL that's provided upon clicking on the Manage button for the repo within the Git Version Control interface? Here's an example of how to use the push command with that URL: git push ssh://username@domain.com/home/username/repositories/testing
    Thank you.
    0
  • Mr_Roboto
    From what I know SSH is not permitted; I can't use HTTP ? I will have to verify otherwise. When running the command git push ssh, the password I use to login to cPanel is the same password I assumed require to connect with SSH to the repository, if that is the case, I'm getting the error; bad line length character Shel ?
    0
  • cPanelMichael
    From what I know SSH is not permitted; I can't use HTTP ? I will have to verify otherwise.

    Hello @Mr_Roboto, Yes, SSH access is one of the requirements noted on the enable the Shell Access setting for your cPanel account.
  • You must register your public key in cPanel's
  • 0

Please sign in to leave a comment.