-
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
Define multible branch prefixes and conventional strategie only #12
Comments
Hello @heavySea, I need some time to remember. So my answers won't be accurate now. But I'll give them right now. |
Synchronization of few none prefixed branches in a single project.WorkaroundCould you use multiple projects for the same pair of remote repositories?
In another project
etc.
the both will be synchronized for Yes, this is stupid, I understand. Also, it will give you some storage and network overhead. SolutionFirst of all, I can't imagine how to configure it conveniently.
So, you see. Configuration, documentation, development and testing will grow. :) |
Disable the Victim Conflict SolvingWorkaroundUse something like this in your project configuration.
or
SolutionI could add an additional parameter later. Right! |
And @heavySea, sorry for inconveniences. |
Hello @it3xl,
Yes we already thought of this workaround. I guess this would work for us at the moment, since we only need to sync a few branches, that have not a common prefix. Though, one drawback is, that it creates local clones of the repository as many times as there are sync-repositories. With large repos this will accumulate quite fast. I see your problem with the differentiation between prefix and complete branch names.
That seems like a fairly hacky workaround, but we are going to test it. Again I would like to thank you for this tool, which otherwise works very well, and your support. |
The star symbol is allowable to use in Git branch names if REFNAME_REFSPEC_PATTERN is set. AFAIK |
Maybe "~" |
So, if I put everything in the existing variables and created a single parsing logic this will be good. |
First of all, thank you for this helpfull tool!
In our use-case we want to synchronise a local copy of a customers fairly large git. For this we only want to synchronize a few branches. But these do not have a common prefix.
Is it possible, that you define multiple branch names/prefixes?
Moreover is it possible to select the conventional conflict solving strategie only and as default? For now it seem, that you have to set a branch in victim_branches_prefix or the whole repository is synced.
Thank you in advance.
The text was updated successfully, but these errors were encountered: