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

CherryPickCmd() 공개 정적인 메소드

public static CherryPickCmd ( string cherry, bool commit ) : string
cherry string
commit bool
리턴 string
        public static string CherryPickCmd(string cherry, bool commit)
        {
            if (commit)
                return "cherry-pick \"" + cherry + "\"";
            return "cherry-pick --no-commit \"" + cherry + "\"";
        }
GitCommands