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

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -