Skip to content

dotdash/git-diff-drivers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

git diff drivers

Usage

To use any of these diff drivers, add them to your $PATH, add a git config entry to your (global) git config and then set a matching git attribute for the files you want to use the driver for. There's a config and attribute example given for each driver.

Note that many git tools, like git log and git show will only utilize diff drivers if you use the --ext-diff flag.

composer-lock-diff-driver

The composer-lock-diff-driver utilizes composer-lock-diff to display changes to composer.lock files in a more readable way.

git config

git config --global diff.composer-lock-diff.command composer-lock-diff-driver

.gitattributes

composer.lock diff=composer-lock-diff

About

A collection of diff drivers for git

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages