GitCommands.GitCommands.CherryPick C# (CSharp) Method

CherryPick() public static method

public static CherryPick ( string cherry, bool commit ) : string
cherry string
commit bool
return string
        public static string CherryPick(string cherry, bool commit)
        {
            if (commit)
                return RunCmd(Settings.GitCommand, "cherry-pick \"" + cherry + "\"");
            return RunCmd(Settings.GitCommand, "cherry-pick --no-commit \"" + cherry + "\"");
        }
GitCommands