https://github.com/dhth/refit
replace local paths with contents from remote git repos
https://github.com/dhth/refit
Last synced: 3 months ago
JSON representation
replace local paths with contents from remote git repos
- Host: GitHub
- URL: https://github.com/dhth/refit
- Owner: dhth
- License: mit
- Created: 2026-04-09T17:38:19.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-04-16T20:10:01.000Z (3 months ago)
- Last Synced: 2026-04-16T22:15:53.854Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
refit
`refit` lets you replace local paths with contents from remote git repositories.
> [!NOTE]
> refit is alpha software. Its interface and behaviour might change in the near
> future.
⚡️ Usage
---
`refit` requires a YAML config file which looks like the following.
```yaml
sources:
- name: shared
repo: git@github.com:user/repo.git
updates:
- name: skill-a
path: plugins/skill-a
target: skills/skill-a
- name: skill-b
path: plugins/skill-b
target: skills/skill-b
```
```text
$ refit -h
Usage: refit
Commands:
run Run all updates whose names match the regex
diff Show the diff for exactly one update
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
```