Skip to content

BasixKOR/git-derivative

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-derivative

A git hook to manage derivative files automatically.

For example if you checked out to a branch with different yarn.lock, git-derivative can run yarn install for you!

Installation

$ git derivative init
$ git derivative install # You may want to run this automatically for your project

You can write what to run in .gitderivative file.

[generators]
"yarn.lock": "yarn install"

Usage

$ git derivative update
$ git derivative install # if not configured to do this automatically

And now you can mostly forget about it.

About

A git hook to manage derivative files automatically.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published