Package org.eclipse.jgit.api.CreateBranchCommand

Examples of org.eclipse.jgit.api.CreateBranchCommand.SetupUpstreamMode


                name);
        actMonitor.beginTask(taskName, 1);
        Git git = new Git(repository);
        try {
          if (ref != null) {
            SetupUpstreamMode mode;
            if (upstreamConfig == UpstreamConfig.NONE)
              mode = SetupUpstreamMode.NOTRACK;
            else
              mode = SetupUpstreamMode.SET_UPSTREAM;
            git.branchCreate().setName(name).setStartPoint(
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.api.CreateBranchCommand.SetupUpstreamMode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.