Jump to content

Syncing existing Plastic repo to New GitHub account?


slr

Recommended Posts

I've been using Plastic for quite a while, but only recently got interested in GitHub.  I understand how to sync with an existing GitHub repo, but I'm interested in taking an existing Plastic repo and replicating it to GitHub where the repo does not exist yet.  I can't find any info on how to do this.

 

I've tried to sync by specifying a "new" repo name for GitHub, but of course, this resulted in a repo not found error.  I've tried creating an empty repo on GitHub and then syncing my Plastic repo.  This ended up making an empty changeset off the initial changeset of my main branch in Plastic with no files pushed to GitHub.

 

I'm sure I'm missing something simple.  Any ideas?

 

Thanks,

Steve

 

Link to comment
Share on other sites

Well, guess I partially figured this out.  Looks like the GitHub repo I created got a default readme file that maybe caused me an issue.  Deleted and recreated the GitHub repo completely empty, then did a sync from plastic and I now have a replication up on GitHub.

 

In the process, I noticed Plastic seems to retain link details about GitHub.  At one point I wanted to completely disassociate the Plastic repo from GitHub, but I didn't see where/how to do that.  Not too important now, but would be nice to know...

 

Steve

 

Link to comment
Share on other sites

Nice to know you did it!

 

If you want to unlink the git information from the github site you will need to remove the attributes the GitSync process uses.

Although I don't recommend you to do it (operation not supported) removing the attributes will do it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...