Jump to content

Git Sync against r/o repositories


wvd_vegt

Recommended Posts

Hi

 

Small question before i run into problems:

 

How does PlasticSCM handle sync against r/o repositories like the https prefixed ones at github?

 

What happens when i compile such an application and some project files are update (VS tends to update *.csproj and *.sln files when not matching the VS version).

 

Are these files overwritten at every sync, so do i Always see an exact replica of the remote repository?

 

regards

Link to comment
Share on other sites

Hi,

 

Not sure if I understand your question. GitSync feature allows you to sync git repositories with Plastic repositories.   It´s the same operation you make when syncing Plastic repositories, but in this case you sync with a git repository.

 

This operation allows you to pull remote branches and changesets and also push your branches and changesets to the remote repository.  

 

eg: If you perform a few changesets locally, and then you sync with a remote repository, your changesets will be pushed to the remote one.

 

Regards,

Carlos 

Link to comment
Share on other sites

Hi Carlos

 

This repository is read-only for me but i tends to make changes locally (and just wonder what happens when i sync again to get remote updates, will i loose all local changes, will plasticscm throw errors etc).

 

The repository is located at https://github.com/gluck/il-repack and i'm using the clone url.

 

regards

Link to comment
Share on other sites

Hi Carlos,

 

I just tried it against a repo that is not mine and it just seems to give an error about not being able to push after pulling changes. So I do not loose any local changes but probably have to re-apply them after ech update. (as nothing has changed remote, i cannot see what will happen then).

 

For now it's ok.

 

regards

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...