git - Use merge operation in gradle (using grgit) -
i want merge branch branch in git using gradle git (grgit) plugin. branch merged first branch , branch first branch merged second branch. so, merge operation this:
def grgit = org.ajoberstar.grgit.grgit.open(dir: project.parent.projectdir) grgit.checkout(branch: 'origin/first') grgit.merge(head:'origin/second',mode: org.ajoberstar.grgit.operation.mergeop.mode.only_ff)
it builds fine doesnot merge operation. idea?
Comments
Post a Comment