GitCommands.GitCommands.GetPreviousCommitMessage C# (CSharp) Method

GetPreviousCommitMessage() public static method

public static GetPreviousCommitMessage ( int numberBack ) : string
numberBack int
return string
        public static string GetPreviousCommitMessage(int numberBack)
        {
            return RunCmd(Settings.GitCommand, "log -n 1 HEAD~" + numberBack + " --pretty=format:%s%n%n%b");
        }
GitCommands