GitEasy

« All commands

Show-Change Show what has changed in your project folder.

Read-Only GitEasy v1.5.3

Description

Show-Change is the natural counterpart to Find-CodeChange. Where Find-CodeChange tells you HOW MANY things changed and which files, Show-Change tells you the actual changes - the lines added and removed.

By default, Show-Change returns the changes you have not yet saved (working area vs last saved point), one structured object per file with Path and Diff. Pipe to Format-List for the full text. With -NextSave, it shows changes that are already prepared for the next saved point. With -Compact, it returns a one-line summary per file instead of the full text.

Recipes

Recipe 1
EXAMPLE 1
Show-Change
Recipe 2
EXAMPLE 2
Show-Change -Path 'README.md'
Recipe 3
EXAMPLE 3
Show-Change -NextSave
Recipe 4
EXAMPLE 4
Show-Change -Compact

Notes

Read-only. Does not modify anything in the project. Use Find-CodeChange for a count summary; Show-Change for the actual diff text.

Parameters

-Path optional String
Filter to a single file (relative to the project root or absolute). Without this, every changed file is included.
-NextSave optional SwitchParameter
Show only the changes that are already prepared for the next saved point, instead of the working-area changes you have not yet added.
-Compact optional SwitchParameter
Return a one-line summary per file (file name, lines added, lines removed) instead of the full diff text.
-LogPath optional String
Override the directory where the diagnostic log for this run is written.

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