public static string PullCmd(string remote, string remoteBranch, string localBranch, bool rebase) { var rebaseOption = ""; if (rebase) rebaseOption = "--rebase "; return "pull " + rebaseOption + GetFetchArgs(remote, remoteBranch, localBranch); }