GitCommands.GitCommands.Pull C# (CSharp) Method

Pull() public static method

public static Pull ( string remote, string remoteBranch, string localBranch, bool rebase ) : string
remote string
remoteBranch string
localBranch string
rebase bool
return string
        public static string Pull(string remote, string remoteBranch, string localBranch, bool rebase)
        {
            remote = FixPath(remote);

            Directory.SetCurrentDirectory(Settings.WorkingDir);

            RunRealCmd("cmd.exe", " /k \"\"" + Settings.GitCommand + "\" " + PullCmd(remote, localBranch, remoteBranch, rebase) + "\"");

            return "Done";
        }
GitCommands