Method ShowCommitsForAlternetUI
ShowCommitsForAlternetUI()
Logs the commit history for the AlternetUI repository from the last 7 days.
public static void ShowCommitsForAlternetUI()
Remarks
This method retrieves and logs the SHA and message of each commit made to the AlternetUI repository within the past week.
ShowCommitsForAlternetUI(int, string?)
Displays a dialog showing the commits for the AlternetUI repository within the specified number of days.
public static Task ShowCommitsForAlternetUI(int days, string? branch = null)
Parameters
daysintThe number of days to look back from the current date to retrieve commits. Must be a positive integer.
branchstringThe name of the branch to filter commits by. If null, commits from the default branch are retrieved.
Returns
- Task
A task that represents the asynchronous operation.
Remarks
This method retrieves commit data from the AlternetUI repository on GitHub and displays it in a dialog window. The dialog includes the commit details formatted as a string.