An open API service indexing awesome lists of open source software.

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

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.