-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preventing push/pull from only side_b #14
Comments
Hello @davesade, thank you. Let me summarize. Is it correct? |
Wait a sec. :) |
The new version. |
Yes, I think you got it perfectly right in last comment above. That would be desired result for my project. |
Sorry git-repo-sync doesn't has the option #"2". I'll propose a workaround in the ongoing post. This is interesting. I thought about it some time ago. But I see that it requires some additional rethinking. And this is a piece of work as I'd like to implement it in a reliable way. |
Workaround.
There are a decent number of such the scripts in the Internet, I believe. |
Let me mention one thing for myself. Previously, git-repo-sync was called convention-over-git. As I see it, life is more interesting than that simple idea. |
Hello!
First of all - I'd like to thank you for this useful tool. I appreciate it's usefulness.
I'm using it in one of my hobby projects already successfully, but I have encountered special use case, where I'm not sure if existing configuration can solve it. I suspect
side_X_conventional_branches_prefix
could be a solution, but I'd like to ask for your opinion about it - if I understand it correctly. Here is the scenario:RepoA - hosted in primary location as single source of truth.
RepoB - sitting on "other side" - I would like to allow guys on other side to experiment with as many branches they want, but only some branches with known prefix are important to be stored securely also in hosted site.
I wish, that all branches from RepoA are pushed to RepoB during sync, but only prefixed branches are pushed from RepoB to RepoA.
Is this exactly what
side_b_conventional_branches_prefix
is for or am I misunderstanding it?Thank you for your answer!
The text was updated successfully, but these errors were encountered: