Forum Discussion

lbragins's avatar
lbragins
Regular Visitor
9 years ago

Git version control integration

Why I'm getting the error: "Invalid input: version control server configuration error: current directory is not controlled by a Git repository" when trying to test connection in the Git configuration?

  • OlegB's avatar
    OlegB
    SmartBear Alumni (Retired)

    Hello Ibragins,

     

    Collaborator displays this error because you have left the "Git Repository" field blank. The full path to the Git repository is only necessary if you enable "Attach changelists from browser". In other cases, you can ignore this error.

     

  • lbragins's avatar
    lbragins
    Regular Visitor

    Hello,

    If I'll put 'http://git.oc.com/project/autoiq.git' to the Git repository field, than I'll get a different error: "Error: Invalid input: Git Repository: Must be an absolute path: http:/git.oc.com/project/autoiq.git".

    Does it mean that the Git server and the Collaborator must be installed on the same system?

    If not, how I can configure Collaborator to recognize the Git repository on the different system?

    Thanks,

     

    • OlegB's avatar
      OlegB
      SmartBear Alumni (Retired)

      Hello Ibragins,

       

      In case you want to allow users to review commits completely from the browser, without having to install any client programs. You need to have installed and configured Git client and local Git repository copy on the same machine with Collaborator server. In both cases, you need to provide the absolute path.

       

      In other case, the users can review commits using the command-line client or GUI client. Here are the help articles that could be helpful for the configuration:

      https://support.smartbear.com/viewarticle/66428/ - instruction for GUI client configuration.

      https://support.smartbear.com/viewarticle/66444/ - commands recommended for Git in the command-line client.

       

      I hope this help.