-
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
Synchronizing all branches? #3
Comments
Sorry, there were some options but I dropped them. Please, could anybody answer some questions? |
Hi, thank you for your quick response. The use-case is simple: To your questions:
|
Let's invent a configuration flag for this mode Mentioned Git tools may create you a burden for such a sync-all-branches mode.
Development started. |
Ok that sound great to me! You could just allow and empty prefix for the victim branches or the side_x_conventional_branches. victim_branches_prefix="" This could for example sync all branches with the victim strategy, that don't start with "mine" or "theirs". Branches starting with mine/theirs will simply be synchronized in conventional mode. Addtionally some branches could be held secret. This is just a thought - I would be grateful for any help ;-) |
Oh, you confirmed my thoughts. That's great, thank you. I'm doing exactly in this way. It will be possible to comment out or set it empty. After that, I'm hoping to remove and replace ignored_branches_prefix by an automation. |
Actually, you can use the develop branch of git-repo-sync if you want to try. It was ready couple days ago. I'll be glad for any response. I didn't covered yet all known test cases by auto-tests for unprefixed branches (All-Branches-Sync). But 70% is covered. |
Hi @berniwa, It is done. I've merged everything to the master branch. e32a625 I'll stay this issue open for a couple of days or weeks, if anything... I'll continue to commit to the master branch but this will mostly be README.md changes. |
Hi @it3xl thanks a lot! Great work! |
I'm trying to synchronize all branches of two servers, everything including master and other branches.
Is that possible? How can this be achieved?
Currently I can only set prefixes for certain strategies, but I can't seem to be able to set and empty prefix.
The text was updated successfully, but these errors were encountered: