GitEasy

« All commands

Show-History Show recent saved points in a readable form.

Read-Only GitEasy v1.5.3

Description

Show-History returns the most recent saved points (commits) for the active project folder, with the short identifier, date, author, and message for each. Run it after Save-Work to confirm the saved point was recorded, or any time you want to inspect recent work.

By default, Show-History returns structured objects you can pipe and filter. With -Graph, it prints a visual graph (with branching and merging) directly to the host instead - useful for seeing how working areas relate.

Recipes

Recipe 1
EXAMPLE 1
Show-History
Recipe 2
EXAMPLE 2
Show-History -Count 5
Recipe 3
EXAMPLE 3
Show-History -Graph -Count 30

Notes

A saved point in the history may still be local only if your active working area is ahead of the published version. Use Save-Work without -NoPush to publish, or check Find-CodeChange and Show-Remote to see the state.

Parameters

-Count optional Int32
How many recent saved points to show. Defaults to 20. Validated to the range 1-200 so the output stays readable.
-Graph optional SwitchParameter
Print a visual graph of saved points with branching and merging shown in ASCII, rather than returning structured objects.

Was this page helpful? Report an issue or suggest an improvement →