GitCommands.GitCommands.PullCmd C# (CSharp) 메소드

PullCmd() 공개 정적인 메소드

public static PullCmd ( string remote, string remoteBranch, string localBranch, bool rebase ) : string
remote string
remoteBranch string
localBranch string
rebase bool
리턴 string
        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);
        }
GitCommands