https://github.com/zarethrex/git-file
A git extension for tracking a single file from a remote repository
https://github.com/zarethrex/git-file
git rust rust-lang version-control
Last synced: 25 days ago
JSON representation
A git extension for tracking a single file from a remote repository
- Host: GitHub
- URL: https://github.com/zarethrex/git-file
- Owner: zarethrex
- License: mit
- Created: 2023-10-13T23:23:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-29T16:34:51.000Z (over 2 years ago)
- Last Synced: 2025-09-20T19:39:03.136Z (9 months ago)
- Topics: git, rust, rust-lang, version-control
- Language: Rust
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Git-File
_Under Development_
`git-file` is a tool for tracking a single file from a remote repository; rather than having to submodule a repository in order to have access to just one or two files, this tool provides a means of tracking the reference and remote of the file and cloning it.
## Concept
`git file add `
Add a file from a remote and store the relevant metadata in hidden `.git-file` config:
```ini
[LICENSE]
remote=https://github.com/artemis-beta/enigma-rust.git
file_path=LICENSE
sha=cddbe32c61670ac6b0c667df96a80d89324ed2f6
```
`git file rm `
Remove from repository.