Skip to content

Latest commit

 

History

History
59 lines (25 loc) · 643 Bytes

Git.FileName-Extension.md

File metadata and controls

59 lines (25 loc) · 643 Bytes

Extensions/Git.FileName.UGit.Extension.ps1

Synopsis

Git FileName Extension


Description

This extension runs on any command that includes the argument -name-only.

It will attempt to treat each name as a file.

If that fails, it will output a Git.Object.Name.


Examples

EXAMPLE 1

git diff --name-only

Outputs


Syntax

Extensions/Git.FileName.UGit.Extension.ps1 [<CommonParameters>]