Forum Discussion

adeltac's avatar
13 years ago

How do I configure a git server?

I'm migrating my company's version control from SVN to Git and have most of it in place.  The final unknown piece is setting of CC to support Git.



There is a "Git" option when I go to the "Version Control" section in the Admin.  But, for the life of me, I can't figure out how to configure it.  The only option it gives me is to enter the location of the git binary.  The most relevant results I can get back when searching the SmartBear site is some documentation that basically says the only support that CC has for Git is via the command line (really??).  If that is the case, why do I see it as an option in the Admin?



I'm hoping that there is a way that I can sync the central git repository on the local CC server using a cron and then configure CC to look in that repository for commits.  Or some flavor of this as this is really the easiest workflow for non-techies.



Also, I gave the comand-line client a go and it barely provides useful Git integration.  Yes, it is able to upload a diff from git to CC.  But, it does not allow one to specify particular commits, so in CC you don't get to see the comments that come with the commits.  Plus, this is painful, I should just be able to do something like `ccolab addchangelist some-git-changelist`, and that's it.



When we bought CC a couple weeks ago I had assumed (not a good idea on hindsight) after talking to one of SmartBear's salestaff, and reading that SmartBear themselves are using Git now, that the Git integration was as good as the SVN integration.  I hope this is still the case and that I'm just doing something wrong.



Anyone dealt with this before or have any thoughts?

1 Reply

  • Hannah's avatar
    Hannah
    SmartBear Alumni (Retired)
    Hi Aran,



    Unfortunately, we don't have server-side integration with Git. The Git option you're seeing was originally added for creating repository host patterns, but it's a bit misleading as it only looks like server side integration.



    We are definitely interested in improving our support for Git and hope to make it available soon, but for now, we provide integration through the command-line and GUI client only.



    It looks like you already found the feature request forum, but for anyone else interested in adding a vote for 'addgitchangelists', you can do so here:



    http://feedback.codecollab.com/forums/4652-code-collaborator-features/suggestions/2047869-support-addgitchangelist-natively?ref=title



    Thanks,