toys

Tools and things that make my life easier - y'all might like them too

View the Project on GitHub pfuntner/toys

git-cat

Purpose

Display the contents of a file from another git branch.

Syntax

Syntax: git-cat [branch] filename

Arguments

| Argument | Description | |————|————————————————| | branch | Optional branch or SHA. The default is HEAD | | filename | Name of file to display |

Examples

Please see examples for char-by-char and side-diff.

Notes