Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

patch-repo

A simple package for patching repos and tracking upstream.

Usage

Initializing a repo (sets up / adds to flake.nix)

npx patch-repo init

Updating a repo (reads flake.nix, updates flake.nix hash, clones repo)

npx patch-repo update
npx patch-repo update <commit-hash>

Patching a repo (reads flake.nix, clones repo if not exists, patches it, skips dirty, warns if commit is not same as in config)

npx patch-repo hook

Force patch a repo (reads flake.nix, clones repo, patches it, overwrites dirty) If shell is interactive & dir is dirty it will ask for confirmation.

npx patch-repo pull

Attribution

Inspired by patch-package & openlv#92.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages