Reputation: 41
I understand that a sync can happen between the git hosting services but I would like to know if it is possible to use git locally and then set it up in such a way that I can sync with the Plastic SCM server.
Ie the inverse of what gitsync does...my central share is a Plastic SCM instance and my local instance is git
The reason is all my working environments are already setup to use git and since my git location should just be able to be seen as another git location is it possible to point Plastic to that and not BitBucket or GitHub per say?
Upvotes: 3
Views: 930
Reputation: 6402
Yes, you can use Plastic SCM GitServer to push/pull directly from Git to Plastic. It means any git-compatible tool an now be directly plugged to Plastic using the Git protocol.
Upvotes: 1
Reputation: 1319
Plastic SCM needs a git server to perform a sync. If you want to sync a local git repo, I would recommend you to run a daemon in the parent folder of your git repo:
git daemon --export-all --base-path=. --reuseaddr --enable=receive-pack
This way, when yourun the sync from the Plastic SCM side, the git repo will be reachable.
git://gitserver/gitRepoName
Upvotes: 4